syzbot


BUG: corrupted list in hci_cmd_sync_dequeue_once

Status: upstream: reported on 2025/06/17 00:05
Reported-by: syzbot+d048b8cbd69df42fa6e4@syzkaller.appspotmail.com
First crash: 139d, last: 6d19h
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in hci_cmd_sync_dequeue_once bluetooth 8 129 3d07h 378d 0/29 upstream: reported on 2024/10/21 08:48

Sample crash report:
list_del corruption, ffff888060684280->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:58!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5787 Comm: kworker/u5:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: hci1 hci_conn_timeout
RIP: 0010:__list_del_entry_valid_or_report+0xe9/0x130 lib/list_debug.c:56
Code: 48 89 de e8 49 69 3d 06 0f 0b 48 c7 c7 00 6e fc 8a 48 89 de e8 38 69 3d 06 0f 0b 48 c7 c7 60 6e fc 8a 48 89 de e8 27 69 3d 06 <0f> 0b 48 c7 c7 c0 6e fc 8a 48 89 de e8 16 69 3d 06 0f 0b 48 c7 c7
RSP: 0018:ffffc900043ffac8 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff888060684280 RCX: beae45bd82f8ba00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff89819710 R08: ffffc900043ff7c7 R09: 1ffff9200087fef8
R10: dffffc0000000000 R11: fffff5200087fef9 R12: dffffc0000000000
R13: 1ffff1100c0d0850 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002000 CR3: 00000000786de000 CR4: 00000000003506f0
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]
 _hci_cmd_sync_cancel_entry net/bluetooth/hci_sync.c:665 [inline]
 hci_cmd_sync_cancel_entry net/bluetooth/hci_sync.c:869 [inline]
 hci_cmd_sync_dequeue_once+0x244/0x370 net/bluetooth/hci_sync.c:888
 hci_cancel_connect_sync+0xc8/0x120 net/bluetooth/hci_sync.c:-1
 hci_abort_conn+0x18c/0x330 net/bluetooth/hci_conn.c:2899
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 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 49 69 3d 06 0f 0b 48 c7 c7 00 6e fc 8a 48 89 de e8 38 69 3d 06 0f 0b 48 c7 c7 60 6e fc 8a 48 89 de e8 27 69 3d 06 <0f> 0b 48 c7 c7 c0 6e fc 8a 48 89 de e8 16 69 3d 06 0f 0b 48 c7 c7
RSP: 0018:ffffc900043ffac8 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff888060684280 RCX: beae45bd82f8ba00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff89819710 R08: ffffc900043ff7c7 R09: 1ffff9200087fef8
R10: dffffc0000000000 R11: fffff5200087fef9 R12: dffffc0000000000
R13: 1ffff1100c0d0850 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c43c135 CR3: 00000000600f1000 CR4: 00000000003506e0

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/27 22:08 linux-6.6.y 4a243110dc88 fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/10/08 21:38 linux-6.6.y e617101e5626 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/07/16 16:30 linux-6.6.y 9247f4e6573a 124ec9cc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/06/17 00:04 linux-6.6.y c2603c511feb d1716036 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in hci_cmd_sync_dequeue_once
* Struck through repros no longer work on HEAD.