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: 245d, last: 13d
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:
Bluetooth: hci4: command 0x0c1a tx timeout
 non-paged memory
list_del corruption, ffff8880338dca00->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:56!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 55 Comm: kworker/u9:0 Not tainted 6.15.0-rc5-syzkaller-00158-g3013c33dcbd9 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
Workqueue: hci4 hci_conn_timeout
RIP: 0010:__list_del_entry_valid_or_report+0x121/0x200 lib/list_debug.c:56
Code: 48 c7 c7 20 86 f4 8b e8 0d 4a c4 fc 90 0f 0b 4c 89 e7 e8 e2 10 28 fd 4c 89 e2 48 89 de 48 c7 c7 80 86 f4 8b e8 f0 49 c4 fc 90 <0f> 0b 48 89 ef e8 c5 10 28 fd 48 89 ea 48 89 de 48 c7 c7 e0 86 f4
RSP: 0018:ffffc9000121fb80 EFLAGS: 00010286
RAX: 000000000000004e RBX: ffff8880338dca00 RCX: ffffffff819a80d9
RDX: 0000000000000000 RSI: ffffffff819aff66 RDI: 0000000000000005
RBP: dead000000000122 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: dead000000000100
R13: dffffc0000000000 R14: ffff8880237f8618 R15: ffff8880338dca00
FS:  0000000000000000(0000) GS:ffff8881249e1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2edf6ff8 CR3: 000000000e180000 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:6874
 hci_abort_conn+0x15a/0x340 net/bluetooth/hci_conn.c:2893
 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:3319 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
 kthread+0x3c2/0x780 kernel/kthread.c:464
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
 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 86 f4 8b e8 0d 4a c4 fc 90 0f 0b 4c 89 e7 e8 e2 10 28 fd 4c 89 e2 48 89 de 48 c7 c7 80 86 f4 8b e8 f0 49 c4 fc 90 <0f> 0b 48 89 ef e8 c5 10 28 fd 48 89 ea 48 89 de 48 c7 c7 e0 86 f4
RSP: 0018:ffffc9000121fb80 EFLAGS: 00010286
RAX: 000000000000004e RBX: ffff8880338dca00 RCX: ffffffff819a80d9
RDX: 0000000000000000 RSI: ffffffff819aff66 RDI: 0000000000000005
RBP: dead000000000122 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: dead000000000100
R13: dffffc0000000000 R14: ffff8880237f8618 R15: ffff8880338dca00
FS:  0000000000000000(0000) GS:ffff888124ae1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000029000 CR3: 0000000031df8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.