All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel NULL pointer triggered with blktests block/025 on latest linux-block/for-next
@ 2021-10-13  8:50 Yi Zhang
  2021-10-13  9:09 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Zhang @ 2021-10-13  8:50 UTC (permalink / raw)
  To: linux-block

Hello
The below NULL pointer issue was triggered on the latest
linux-block/for-next with blktests, is it one known issue?

[  536.985788] run blktests block/025 at 2021-10-13 04:26:03
[  537.196048] scsi_debug:sdebug_driver_probe: scsi_debug: trim
poll_queues to 0. poll_q/nr_hw = (0/1)
[  537.206830] sd 11:0:0:0: Power-on or device reset occurred
[  550.149333] BUG: kernel NULL pointer dereference, address: 0000000000000098
[  550.157111] #PF: supervisor read access in kernel mode
[  550.162843] #PF: error_code(0x0000) - not-present page
[  550.168576] PGD 0 P4D 0
[  550.171403] Oops: 0000 [#1] SMP PTI
[  550.175294] CPU: 7 PID: 0 Comm: swapper/7 Tainted: G S
  5.15.0-rc5+ #1
[  550.183938] Hardware name: Dell Inc. PowerEdge R730xd/ɲ�Pow, BIOS
2.13.0 05/14/2021
[  550.192578] RIP: 0010:wb_timer_fn+0x37/0x320
[  550.197351] Code: 48 8b 5f 60 4c 8b 67 50 8b ab 98 00 00 00 8b 93
b8 00 00 00 8b 83 d8 00 00 00 4c 8b 6b 28 01 d5 01 c5 48 8b 43 60 48
8b 40 78 <4c> 8b b0 98 00 00 00 4d 85 ed 0f 84 c0 00 00 00 48 83 7b 30
00 0f
[  550.218308] RSP: 0018:ffffb52981c34e80 EFLAGS: 00010246
[  550.224139] RAX: 0000000000000000 RBX: ffff9650c7a59700 RCX: 000000000000000c
[  550.232103] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff965111a72500
[  550.240064] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[  550.248027] R10: 000000000000000b R11: 0000000000000030 R12: ffff964f44c3c1e0
[  550.255991] R13: 0000000000000000 R14: ffff965111a72510 R15: ffff9652b7cd7f70
[  550.263954] FS:  0000000000000000(0000) GS:ffff9652b7cc0000(0000)
knlGS:0000000000000000
[  550.272985] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  550.279396] CR2: 0000000000000098 CR3: 000000040a610003 CR4: 00000000001706e0
[  550.287360] Call Trace:
[  550.290087]  <IRQ>
[  550.292675]  ? blk_stat_free_callback_rcu+0x30/0x30
[  550.298120]  call_timer_fn+0x26/0xf0
[  550.302114]  run_timer_softirq+0x1c7/0x3d0
[  550.306678]  ? update_process_times+0xb0/0xc0
[  550.311541]  ? tick_sched_handle.isra.24+0x1f/0x60
[  550.316890]  ? timerqueue_add+0x6f/0x80
[  550.321170]  ? enqueue_hrtimer+0x2f/0x70
[  550.325548]  ? recalibrate_cpu_khz+0x10/0x10
[  550.330316]  ? ktime_get+0x3e/0xa0
[  550.334108]  ? setup_local_APIC+0x350/0x350
[  550.338779]  __do_softirq+0xc9/0x285
[  550.342762]  irq_exit_rcu+0xa6/0xc0
[  550.346657]  sysvec_apic_timer_interrupt+0x6e/0x90
[  550.352006]  </IRQ>
[  550.354345]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[  550.360081] RIP: 0010:cpuidle_enter_state+0xd6/0x350
[  550.365626] Code: 49 89 c4 0f 1f 44 00 00 31 ff e8 95 5b 98 ff 45
84 ff 74 12 9c 58 f6 c4 02 0f 85 32 02 00 00 31 ff e8 6e fb 9e ff fb
45 85 f6 <0f> 88 e0 00 00 00 49 63 d6 4c 2b 24 24 48 8d 04 52 48 8d 04
82 49
[  550.386582] RSP: 0018:ffffb52980187e80 EFLAGS: 00000202
[  550.392411] RAX: ffff9652b7ce7c00 RBX: 0000000000000004 RCX: 000000000000001f
[  550.400374] RDX: 0000008017745c51 RSI: 000000005000068d RDI: 0000000000000000
[  550.408337] RBP: ffffd5297fcc0308 R08: 0000000000000002 R09: 0000000000027440
[  550.416300] R10: 00000beeb045c510 R11: ffff9652b7ce6944 R12: 0000008017745c51
[  550.424264] R13: ffffffffb3acac00 R14: 0000000000000004 R15: 0000000000000000
[  550.432228]  cpuidle_enter+0x29/0x40
[  550.436210]  do_idle+0x257/0x2a0
[  550.439814]  cpu_startup_entry+0x19/0x20
[  550.444192]  start_secondary+0x116/0x150
[  550.448570]  secondary_startup_64_no_verify+0xc2/0xcb
[  550.454212] Modules linked in: scsi_debug(-) rpcsec_gss_krb5
auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache netfs rfkill
sunrpc vfat fat dm_multipath intel_rapl_msr intel_rapl_common sb_edac
x86_pkg_temp_thermal intel_powerclamp coretemp mgag200 kvm_intel kvm
iTCO_wdt i2c_algo_bit irqbypass iTCO_vendor_support drm_kms_helper
crct10dif_pclmul crc32_pclmul pcspkr ghash_clmulni_intel syscopyarea
sysfillrect sysimgblt fb_sys_fops cdc_ether rapl intel_cstate usbnet
mei_me drm intel_uncore mii lpc_ich mxm_wmi mei ipmi_ssif ipmi_si
ipmi_devintf ipmi_msghandler acpi_power_meter acpi_pad xfs libcrc32c
sd_mod sg nvme ahci nvme_core libahci crc32c_intel libata t10_pi tg3
megaraid_sas wmi dm_mirror dm_region_hash dm_log dm_mod [last
unloaded: scsi_debug]
[  550.528470] CR2: 0000000000000098
[  550.532168] ---[ end trace e450dd0876b8ec06 ]---
[  550.605860] RIP: 0010:wb_timer_fn+0x37/0x320
[  550.610630] Code: 48 8b 5f 60 4c 8b 67 50 8b ab 98 00 00 00 8b 93
b8 00 00 00 8b 83 d8 00 00 00 4c 8b 6b 28 01 d5 01 c5 48 8b 43 60 48
8b 40 78 <4c> 8b b0 98 00 00 00 4d 85 ed 0f 84 c0 00 00 00 48 83 7b 30
00 0f
[  550.631586] RSP: 0018:ffffb52981c34e80 EFLAGS: 00010246
[  550.637416] RAX: 0000000000000000 RBX: ffff9650c7a59700 RCX: 000000000000000c
[  550.645379] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff965111a72500
[  550.653341] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[  550.661303] R10: 000000000000000b R11: 0000000000000030 R12: ffff964f44c3c1e0
[  550.669265] R13: 0000000000000000 R14: ffff965111a72510 R15: ffff9652b7cd7f70
[  550.677227] FS:  0000000000000000(0000) GS:ffff9652b7cc0000(0000)
knlGS:0000000000000000
[  550.686257] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  550.692669] CR2: 0000000000000098 CR3: 000000040a610003 CR4: 00000000001706e0
[  550.700633] Kernel panic - not syncing: Fatal exception in interrupt
[  550.829274] Kernel Offset: 0x31000000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[  550.911183] ---[ end Kernel panic - not syncing: Fatal exception in
interrupt ]---
-- 
Best Regards,
  Yi Zhang


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel NULL pointer triggered with blktests block/025 on latest linux-block/for-next
  2021-10-13  8:50 kernel NULL pointer triggered with blktests block/025 on latest linux-block/for-next Yi Zhang
@ 2021-10-13  9:09 ` Christoph Hellwig
  2021-10-14  1:36   ` Yi Zhang
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2021-10-13  9:09 UTC (permalink / raw)
  To: Yi Zhang; +Cc: linux-block

On Wed, Oct 13, 2021 at 04:50:13PM +0800, Yi Zhang wrote:
> Hello
> The below NULL pointer issue was triggered on the latest
> linux-block/for-next with blktests, is it one known issue?

Please try this patchset:

https://lore.kernel.org/linux-block/20210929071241.934472-1-hch@lst.de/T/#m6591be7882bf30f3538a8baafbac1712f0763ebb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel NULL pointer triggered with blktests block/025 on latest linux-block/for-next
  2021-10-13  9:09 ` Christoph Hellwig
@ 2021-10-14  1:36   ` Yi Zhang
  2021-10-14  6:10     ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Zhang @ 2021-10-14  1:36 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-block

On Wed, Oct 13, 2021 at 5:10 PM Christoph Hellwig <hch@infradead.org> wrote:
>
> On Wed, Oct 13, 2021 at 04:50:13PM +0800, Yi Zhang wrote:
> > Hello
> > The below NULL pointer issue was triggered on the latest
> > linux-block/for-next with blktests, is it one known issue?
>
> Please try this patchset:
>
> https://lore.kernel.org/linux-block/20210929071241.934472-1-hch@lst.de/T/#m6591be7882bf30f3538a8baafbac1712f0763ebb
>

Yeah,  the issue was fixed with the patchset, feel free to add:

Tested-by: Yi Zhang <yi.zhang@redhat.com>


-- 
Best Regards,
  Yi Zhang


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel NULL pointer triggered with blktests block/025 on latest linux-block/for-next
  2021-10-14  1:36   ` Yi Zhang
@ 2021-10-14  6:10     ` Christoph Hellwig
  0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2021-10-14  6:10 UTC (permalink / raw)
  To: Yi Zhang; +Cc: Christoph Hellwig, linux-block

On Thu, Oct 14, 2021 at 09:36:27AM +0800, Yi Zhang wrote:
> Yeah,  the issue was fixed with the patchset, feel free to add:
> 
> Tested-by: Yi Zhang <yi.zhang@redhat.com>

Can you post the tested-by in reply to the series?  Thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-14  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13  8:50 kernel NULL pointer triggered with blktests block/025 on latest linux-block/for-next Yi Zhang
2021-10-13  9:09 ` Christoph Hellwig
2021-10-14  1:36   ` Yi Zhang
2021-10-14  6:10     ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.