syzbot


BUG: corrupted list in _hci_cmd_sync_cancel_entry

Status: upstream: reported on 2024/09/27 14:53
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+01fdb2cc3f0b4ddcfcf1@syzkaller.appspotmail.com
First crash: 277d, last: 3d14h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] BUG: corrupted list in _hci_cmd_sync_cancel_entry 0 (1) 2024/09/27 14:53

Sample crash report:
 non-paged memory
list_del corruption, ffff888083761180->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:56!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 5828 Comm: kworker/u9:5 Not tainted 6.16.0-rc2-syzkaller-00162-g41687a5c6f8b #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: hci0 hci_conn_timeout
RIP: 0010:__list_del_entry_valid_or_report+0x121/0x200 lib/list_debug.c:56
Code: 48 c7 c7 20 7d 15 8c e8 4d 5d b9 fc 90 0f 0b 4c 89 e7 e8 32 09 1e fd 4c 89 e2 48 89 de 48 c7 c7 80 7d 15 8c e8 30 5d b9 fc 90 <0f> 0b 48 89 ef e8 15 09 1e fd 48 89 ea 48 89 de 48 c7 c7 e0 7d 15
RSP: 0018:ffffc90003a0fb78 EFLAGS: 00010282
RAX: 000000000000004e RBX: ffff888083761180 RCX: ffffffff819b00b9
RDX: 0000000000000000 RSI: ffffffff819b7f46 RDI: 0000000000000005
RBP: dead000000000122 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 000000000008b938 R12: dead000000000100
R13: dffffc0000000000 R14: ffff888053c5c618 R15: ffff888083761180
FS:  0000000000000000(0000) GS:ffff888124853000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb7da494f98 CR3: 000000007e73a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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.constprop.0+0x80/0x1d0 net/bluetooth/hci_sync.c:647
 hci_cmd_sync_cancel_entry net/bluetooth/hci_sync.c:851 [inline]
 hci_cmd_sync_dequeue_once net/bluetooth/hci_sync.c:870 [inline]
 hci_cancel_connect_sync+0xfa/0x2b0 net/bluetooth/hci_sync.c:6903
 hci_abort_conn+0x15a/0x340 net/bluetooth/hci_conn.c:2919
 hci_conn_timeout+0x1a2/0x210 net/bluetooth/hci_conn.c:580
 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c2/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x121/0x200 lib/list_debug.c:56
Code: 48 c7 c7 20 7d 15 8c e8 4d 5d b9 fc 90 0f 0b 4c 89 e7 e8 32 09 1e fd 4c 89 e2 48 89 de 48 c7 c7 80 7d 15 8c e8 30 5d b9 fc 90 <0f> 0b 48 89 ef e8 15 09 1e fd 48 89 ea 48 89 de 48 c7 c7 e0 7d 15
RSP: 0018:ffffc90003a0fb78 EFLAGS: 00010282
RAX: 000000000000004e RBX: ffff888083761180 RCX: ffffffff819b00b9
RDX: 0000000000000000 RSI: ffffffff819b7f46 RDI: 0000000000000005
RBP: dead000000000122 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 000000000008b938 R12: dead000000000100
R13: dffffc0000000000 R14: ffff888053c5c618 R15: ffff888083761180
FS:  0000000000000000(0000) GS:ffff888124753000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff944c33d58 CR3: 0000000037787000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/20 14:48 upstream 41687a5c6f8b e3003213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/06/12 00:50 upstream 488ef3560196 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/06/12 00:34 upstream 488ef3560196 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/05/09 21:59 upstream 3013c33dcbd9 bb813bcc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/05/09 05:12 upstream 9c69f8884904 bb813bcc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/05/03 14:43 upstream 95d3481af6dc b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/04/15 08:31 upstream 834a4a689699 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/03/29 21:42 upstream 7d06015d936c d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/03/06 07:37 upstream bb2281fb05e5 034534df .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2024/12/02 20:51 upstream e70140ba0d2b bb326ffb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2024/10/15 03:58 upstream eca631b8fe80 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2024/09/19 12:53 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/04/19 10:52 upstream 3088d26962e8 2a20f901 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/04/26 08:26 upstream c3137514f1f1 c6b4fb39 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/04/16 00:47 upstream 1a1d569a75f3 a95239b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/04/14 14:34 upstream 8ffd015db85f 0bd6db41 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/04/09 12:50 upstream a24588245776 47d015b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: corrupted list in _hci_cmd_sync_cancel_entry
2025/04/06 17:13 upstream f4d2ef48250a 1c65791e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: corrupted list in _hci_cmd_sync_cancel_entry
* Struck through repros no longer work on HEAD.