public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [bug report] kernel BUG at lib/list_debug.c:32! triggered by blktests nvme/049
@ 2026-01-07 16:39 Yi Zhang
  2026-01-07 16:48 ` Jens Axboe
  0 siblings, 1 reply; 13+ messages in thread
From: Yi Zhang @ 2026-01-07 16:39 UTC (permalink / raw)
  To: linux-block; +Cc: Jens Axboe, Ming Lei, Shinichiro Kawasaki

Hi
The following issue[2] was triggered by blktests nvme/059 and it's
100% reproduced with commit[1]. Please help check it and let me know
if you need any info/test for it.
Seems it's one regression, I will try to test with the latest
linux-block/for-next and also bisect it tomorrow.

[1]
commit 5ee81d4ae52ec4e9206efb4c1b06e269407aba11
Merge: 29cefd61e0c6 fcf463b92a08
Author: Jens Axboe <axboe@kernel.dk>
Date:   Tue Jan 6 05:48:07 2026 -0700

    Merge branch 'for-7.0/blk-pvec' into for-next

    * for-7.0/blk-pvec:
      types: move phys_vec definition to common header
      nvme-pci: Use size_t for length fields to handle larger sizes
[2]
[16866.579229] run blktests nvme/049 at 2026-01-07 02:00:14
[16869.709147]  slab io_kiocb start ffff88825e6ad400 pointer offset 144 size 248
[16869.716399] list_add corruption. prev->next should be next
(ffff888200596100), but was 0000000000000000. (prev=ffff88825e6ad490).
[16869.728106] ------------[ cut here ]------------
[16869.732738] kernel BUG at lib/list_debug.c:32!
[16869.737209] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
[16869.742790] CPU: 15 UID: 0 PID: 71799 Comm: fio Kdump: loaded Not
tainted 6.19.0-rc3+ #1 PREEMPT(voluntary)
[16869.752614] Hardware name: Dell Inc. PowerEdge R6515/07PXPY, BIOS
2.21.1 09/24/2025
[16869.760267] RIP: 0010:__list_add_valid_or_report+0xf9/0x130
[16869.765849] Code: 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c
02 00 75 3c 49 8b 55 00 4c 89 e9 48 89 de 48 c7 c7 40 6d f6 9e e8 67
e1 a1 fe <0f> 0b 4c 89 e7 e8 8d eb 78 ff e9 3c ff ff ff 4c 89 ef e8 80
eb 78
[16869.784600] RSP: 0018:ffffc9000aadf990 EFLAGS: 00010282
[16869.789835] RAX: 0000000000000075 RBX: ffff888200596100 RCX: 0000000000000000
[16869.796967] RDX: 0000000000000075 RSI: ffffffff9ef66980 RDI: fffff5200155bf24
[16869.804101] RBP: ffff88825e6adc10 R08: 0000000000000001 R09: fffff5200155bee6
[16869.811234] R10: ffffc9000aadf737 R11: 0000000000000001 R12: ffff888200596108
[16869.818366] R13: ffff88825e6ad490 R14: ffff88825e6ad490 R15: ffff88825e6adc10
[16869.825500] FS:  00007f01a51bb740(0000) GS:ffff88887f6c4000(0000)
knlGS:0000000000000000
[16869.833591] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16869.839338] CR2: 00007f019cdb7430 CR3: 00000001eeeae000 CR4: 0000000000350ef0
[16869.846469] Call Trace:
[16869.848923]  <TASK>
[16869.851034]  io_issue_sqe+0x7eb/0xdd0
[16869.854707]  ? srso_return_thunk+0x5/0x5f
[16869.858725]  ? io_uring_cmd_prep+0x350/0x560
[16869.863012]  io_submit_sqes+0x475/0x1000
[16869.866942]  ? srso_return_thunk+0x5/0x5f
[16869.870969]  ? __pfx_io_submit_sqes+0x10/0x10
[16869.875332]  ? srso_return_thunk+0x5/0x5f
[16869.879352]  ? __fget_files+0x1b6/0x2f0
[16869.883208]  __do_sys_io_uring_enter+0x433/0x820
[16869.887829]  ? fput+0x4c/0xa0
[16869.890809]  ? __pfx___do_sys_io_uring_enter+0x10/0x10
[16869.895958]  ? srso_return_thunk+0x5/0x5f
[16869.899978]  ? srso_return_thunk+0x5/0x5f
[16869.903999]  ? rcu_is_watching+0x15/0xb0
[16869.907934]  ? srso_return_thunk+0x5/0x5f
[16869.911953]  ? trace_irq_enable.constprop.0+0x13d/0x190
[16869.917183]  ? srso_return_thunk+0x5/0x5f
[16869.921203]  ? syscall_trace_enter+0x13e/0x230
[16869.925656]  ? srso_return_thunk+0x5/0x5f
[16869.929685]  do_syscall_64+0x95/0x520
[16869.933363]  ? srso_return_thunk+0x5/0x5f
[16869.937380]  ? trace_irq_enable.constprop.0+0x13d/0x190
[16869.942608]  ? srso_return_thunk+0x5/0x5f
[16869.946628]  ? do_syscall_64+0x16d/0x520
[16869.950556]  ? __pfx_pgd_none+0x10/0x10
[16869.954408]  ? srso_return_thunk+0x5/0x5f
[16869.958424]  ? __handle_mm_fault+0x97e/0x11d0
[16869.962795]  ? __pfx_css_rstat_updated+0x10/0x10
[16869.967421]  ? __pfx___handle_mm_fault+0x10/0x10
[16869.972050]  ? srso_return_thunk+0x5/0x5f
[16869.976069]  ? rcu_is_watching+0x15/0xb0
[16869.979995]  ? srso_return_thunk+0x5/0x5f
[16869.984016]  ? trace_count_memcg_events+0x14f/0x1a0
[16869.988905]  ? srso_return_thunk+0x5/0x5f
[16869.992924]  ? count_memcg_events+0xe5/0x370
[16869.997198]  ? srso_return_thunk+0x5/0x5f
[16870.001218]  ? srso_return_thunk+0x5/0x5f
[16870.005232]  ? __up_read+0x2c5/0x700
[16870.008821]  ? __pfx___up_read+0x10/0x10
[16870.012756]  ? handle_mm_fault+0x452/0x8a0
[16870.016862]  ? do_user_addr_fault+0x274/0xa60
[16870.021229]  ? srso_return_thunk+0x5/0x5f
[16870.025241]  ? rcu_is_watching+0x15/0xb0
[16870.029172]  ? srso_return_thunk+0x5/0x5f
[16870.033189]  ? rcu_is_watching+0x15/0xb0
[16870.037114]  ? srso_return_thunk+0x5/0x5f
[16870.041126]  ? trace_irq_enable.constprop.0+0x13d/0x190
[16870.046353]  ? srso_return_thunk+0x5/0x5f
[16870.050368]  ? srso_return_thunk+0x5/0x5f
[16870.054387]  ? irqentry_exit+0x93/0x5f0
[16870.058229]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[16870.063288] RIP: 0033:0x558b6250d067
[16870.066876] Code: 24 94 00 00 00 85 f6 74 78 49 8b 44 24 20 41 8b
3c 24 45 31 c0 45 31 c9 41 ba 01 00 00 00 31 d2 44 8b 38 b8 aa 01 00
00 0f 05 <48> 89 c3 89 c5 85 c0 7e 90 89 c2 44 89 fe 4c 89 ef e8 c3 d6
ff ff
[16870.085630] RSP: 002b:00007ffc479b70b0 EFLAGS: 00000246 ORIG_RAX:
00000000000001aa
[16870.093205] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000558b6250d067
[16870.100335] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007
[16870.107468] RBP: 00007f019cdb6000 R08: 0000000000000000 R09: 0000000000000000
[16870.114601] R10: 0000000000000001 R11: 0000000000000246 R12: 0000558b9f3eab00
[16870.121734] R13: 00007f019cdb6000 R14: 0000558b62527000 R15: 0000000000000001
[16870.128882]  </TASK>
[16870.131077] Modules linked in: ext4 crc16 mbcache jbd2
rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace
nfs_localio netfs platform_profile dell_wmi dell_smbios intel_rapl_msr
amd_atl intel_rapl_common sparse_keymap amd64_edac rfkill edac_mce_amd
video vfat dcdbas fat kvm_amd cdc_ether usbnet kvm mii irqbypass
mgag200 wmi_bmof dell_wmi_descriptor rapl i2c_algo_bit pcspkr
acpi_cpufreq ipmi_ssif ptdma i2c_piix4 k10temp i2c_smbus
acpi_power_meter ipmi_si acpi_ipmi ipmi_devintf ipmi_msghandler sg
loop fuse xfs sd_mod nvme ahci libahci nvme_core mpt3sas
ghash_clmulni_intel tg3 nvme_keyring ccp libata raid_class nvme_auth
hkdf scsi_transport_sas sp5100_tco wmi sunrpc dm_mirror dm_region_hash
dm_log dm_mod nfnetlink [last unloaded: nvmet]

-- 
Best Regards,
  Yi Zhang


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

end of thread, other threads:[~2026-01-16 12:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-07 16:39 [bug report] kernel BUG at lib/list_debug.c:32! triggered by blktests nvme/049 Yi Zhang
2026-01-07 16:48 ` Jens Axboe
2026-01-08  6:39   ` Yi Zhang
2026-01-14  5:58     ` [bug report][bisected] " Yi Zhang
2026-01-14  9:40       ` Alexander Atanasov
2026-01-14 12:43         ` Christoph Hellwig
2026-01-14 14:11       ` Ming Lei
2026-01-14 14:43         ` Jens Axboe
2026-01-14 14:58           ` Jens Axboe
2026-01-14 15:20             ` Ming Lei
2026-01-14 15:26               ` Jens Axboe
2026-01-16 11:54         ` Alexander Atanasov
2026-01-16 12:41           ` Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox