syzbot


BUG: corrupted list in hci_cmd_sync_dequeue_once

Status: upstream: reported on 2024/10/21 08:48
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+5250d87dea2afdb718a5@syzkaller.appspotmail.com
First crash: 327d, last: 5h32m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] BUG: corrupted list in hci_cmd_sync_dequeue_once 0 (1) 2024/10/21 08:48

Sample crash report:
 non-paged memory
list_del corruption, ffff88801f3c7d80->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:58!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 5845 Comm: kworker/u9:9 Not tainted 6.15.0-rc6-syzkaller-00208-g3c21441eeffc #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: hci4 hci_conn_timeout
RIP: 0010:__list_del_entry_valid_or_report+0x10e/0x190 lib/list_debug.c:56
Code: e0 09 c1 8b 48 89 de e8 80 e2 6f fc 90 0f 0b 4c 89 e7 e8 85 8d 48 fd 48 c7 c7 40 0a c1 8b 48 89 de 4c 89 e2 e8 63 e2 6f fc 90 <0f> 0b 4c 89 e7 e8 68 8d 48 fd 48 c7 c7 a0 0a c1 8b 48 89 de 4c 89
RSP: 0018:ffffc90004dbfa20 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff88801f3c7d80 RCX: 3e380d5baeb58500
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff8a5f8aa0 R08: ffffc90004dbf707 R09: 1ffff920009b7ee0
R10: dffffc0000000000 R11: fffff520009b7ee1 R12: dead000000000100
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8881261f9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f58e4d7d2d8 CR3: 000000002dfa0000 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 net/bluetooth/hci_sync.c:647 [inline]
 hci_cmd_sync_cancel_entry net/bluetooth/hci_sync.c:851 [inline]
 hci_cmd_sync_dequeue_once+0x24a/0x370 net/bluetooth/hci_sync.c:870
 hci_cancel_connect_sync+0xc8/0x120 net/bluetooth/hci_sync.c:-1
 hci_abort_conn+0x191/0x330 net/bluetooth/hci_conn.c:2893
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x4b/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+0x10e/0x190 lib/list_debug.c:56
Code: e0 09 c1 8b 48 89 de e8 80 e2 6f fc 90 0f 0b 4c 89 e7 e8 85 8d 48 fd 48 c7 c7 40 0a c1 8b 48 89 de 4c 89 e2 e8 63 e2 6f fc 90 <0f> 0b 4c 89 e7 e8 68 8d 48 fd 48 c7 c7 a0 0a c1 8b 48 89 de 4c 89
RSP: 0018:ffffc90004dbfa20 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff88801f3c7d80 RCX: 3e380d5baeb58500
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff8a5f8aa0 R08: ffffc90004dbf707 R09: 1ffff920009b7ee0
R10: dffffc0000000000 R11: fffff520009b7ee1 R12: dead000000000100
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8881261f9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000088c030 CR3: 000000003121a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/17 00:37 upstream 3c21441eeffc f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/05/14 20:41 upstream 9f35e33144ae a4fa04ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/05/01 21:07 upstream 4f79eaa2ceac 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/27 07:36 upstream d22aad29de2a c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/27 02:25 upstream d22aad29de2a c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/22 08:19 upstream a33b5a08cbbd 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/13 12:48 upstream 7cdabafc0012 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/06 14:45 upstream f4d2ef48250a 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/06 08:04 upstream f4d2ef48250a 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/05 00:38 upstream e48e99b6edf4 1c4febdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/04 06:37 upstream a2cc6ff5ec8f d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/03 09:29 upstream 92b71befc349 996a9618 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/03/28 10:50 upstream acb4f33713b9 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/03/28 07:14 upstream 1a9239bb4253 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/03/20 08:49 upstream a7f2e10ecd8f 3b7445cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/03/18 02:40 upstream 4701f33a1070 ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/03/12 06:41 upstream 0fed89a961ea ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/02/19 04:27 upstream 6537cfb395f3 9a14138f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/01/09 19:01 upstream eea6e4b4dfb8 40f46913 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2024/08/21 16:05 upstream b311c1b497e5 db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2024/06/24 05:08 upstream 7c16f0a4ed1c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/05/16 05:51 net-next 1119e5519dcd cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/05/12 17:12 net-next 0b28182c73a3 f6671af7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/05/03 07:34 net-next 586ceac9acb7 b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/28 09:44 net-next cc17b4b9c332 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/26 14:23 net-next cc17b4b9c332 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/19 01:29 net-next 8066e388be48 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/15 12:28 net-next 0f2be57686c7 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/04 03:31 net-next acc4d5ff0b61 d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/03/26 13:21 net-next a19f40d919ca 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: corrupted list in hci_cmd_sync_dequeue_once
2025/04/11 03:41 linux-next 29e7bf01ed80 1bc60a19 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2024/12/20 22:50 linux-next 8155b4ef3466 1ac6aa80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2024/12/20 05:54 linux-next 8503810115fb 1d58202c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: corrupted list in hci_cmd_sync_dequeue_once
2024/09/27 19:40 linux-next 40e0c9d414f5 2b1784d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: corrupted list in hci_cmd_sync_dequeue_once
* Struck through repros no longer work on HEAD.