syzbot
BUG: corrupted list in mgmt_pending_remove
Status:
upstream: reported C repro on 2026/09/10 17:17
Reported-by: syzbot+7e3a8b2eb6fe6a61d6dd@syzkaller.appspotmail.com
First crash: 1d08h, last: 1h09m
Sample crash report:
list_del corruption, ffff8880766d9180->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:58!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 51 Comm: kworker/u5:0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: hci0 hci_cmd_sync_work
RIP: 0010:__list_del_entry_valid_or_report+0xe9/0x130 lib/list_debug.c:56
Code: 48 89 de e8 69 78 49 06 0f 0b 48 c7 c7 60 39 1d 8b 48 89 de e8 58 78 49 06 0f 0b 48 c7 c7 c0 39 1d 8b 48 89 de e8 47 78 49 06 <0f> 0b 48 c7 c7 20 3a 1d 8b 48 89 de e8 36 78 49 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90000bbfa00 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff8880766d9180 RCX: fc3d1c2f96d6db00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 1ffff1100ecdb233 R08: ffffc90000bbf707 R09: 1ffff92000177ee0
R10: dffffc0000000000 R11: fffff52000177ee1 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e0994d97d0 CR3: 0000000030a51000 CR4: 00000000003506e0
Call Trace:
<TASK>
__list_del_entry_valid include/linux/list.h:124 [inline]
__list_del_entry include/linux/list.h:215 [inline]
list_del include/linux/list.h:229 [inline]
mgmt_pending_remove+0x53/0x1f0 net/bluetooth/mgmt_util.c:317
mgmt_add_adv_patterns_monitor_complete+0x45d/0x730 net/bluetooth/mgmt.c:5417
hci_cmd_sync_work+0x24b/0x380 net/bluetooth/hci_sync.c:335
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0xe9/0x130 lib/list_debug.c:56
Code: 48 89 de e8 69 78 49 06 0f 0b 48 c7 c7 60 39 1d 8b 48 89 de e8 58 78 49 06 0f 0b 48 c7 c7 c0 39 1d 8b 48 89 de e8 47 78 49 06 <0f> 0b 48 c7 c7 20 3a 1d 8b 48 89 de e8 36 78 49 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90000bbfa00 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff8880766d9180 RCX: fc3d1c2f96d6db00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 1ffff1100ecdb233 R08: ffffc90000bbf707 R09: 1ffff92000177ee0
R10: dffffc0000000000 R11: fffff52000177ee1 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e0994d97d0 CR3: 0000000030a51000 CR4: 00000000003506e0
* Struck through repros no longer work on HEAD.