syzbot


WARNING in __hci_cmd_sync_sk

Status: fixed on 2024/08/17 09:45
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+f52b6db1fe57bfb08d49@syzkaller.appspotmail.com
Fix commit: f1a8f402f13f Bluetooth: L2CAP: Fix deadlock
First crash: 100d, last: 80d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] WARNING in __hci_cmd_sync_sk 0 (5) 2024/08/06 14:28
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in __hci_cmd_sync_sk 6 19d 62d 0/3 upstream: reported on 2024/08/11 22:20
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/08/06 13:43 0m djahchankoike@gmail.com patch upstream error
2024/08/06 03:26 18m djahchankoike@gmail.com patch upstream error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 2 PID: 5955 at kernel/workqueue.c:2282 __queue_work+0xc13/0x1020 kernel/workqueue.c:2281
Modules linked in:
CPU: 2 PID: 5955 Comm: syz-executor Not tainted 6.10.0-rc7-syzkaller-00012-g34afb82a3c67 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:__queue_work+0xc13/0x1020 kernel/workqueue.c:2281
Code: 07 83 c0 03 38 d0 7c 09 84 d2 74 05 e8 76 07 91 00 8b 5b 2c 31 ff 83 e3 20 89 de e8 d7 3f 35 00 85 db 75 2a e8 ce 44 35 00 90 <0f> 0b 90 e9 4d f9 ff ff e8 c0 44 35 00 90 0f 0b 90 e9 fc f8 ff ff
RSP: 0018:ffffc9000b9978f0 EFLAGS: 00010093
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81589fb9
RDX: ffff888021b64880 RSI: ffffffff81589fc2 RDI: 0000000000000005
RBP: 0000000000000200 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880269bcad0
R13: 0000000000000008 R14: ffff888043e61000 R15: ffff888043e61000
FS:  00005555879ee500(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5840efeda0 CR3: 0000000027ff8000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 queue_work_on+0x11a/0x140 kernel/workqueue.c:2411
 queue_work include/linux/workqueue.h:621 [inline]
 hci_cmd_sync_run net/bluetooth/hci_sync.c:145 [inline]
 __hci_cmd_sync_sk+0x359/0xf80 net/bluetooth/hci_sync.c:167
 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:252 [inline]
 __hci_cmd_sync_status+0x3f/0x160 net/bluetooth/hci_sync.c:278
 hci_dev_cmd+0x625/0x9c0 net/bluetooth/hci_core.c:747
 hci_sock_ioctl+0x4f3/0x880 net/bluetooth/hci_sock.c:1150
 sock_do_ioctl+0x116/0x280 net/socket.c:1222
 sock_ioctl+0x22e/0x6c0 net/socket.c:1341
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5840f757db
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffea3fbfcb0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5840f757db
RDX: 00007ffea3fbfd28 RSI: 00000000400448dd RDI: 0000000000000003
RBP: 00005555879ee4a8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000005 R15: 0000000000000009
 </TASK>

Crashes (36):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/10 13:48 upstream 34afb82a3c67 9e136b95 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __hci_cmd_sync_sk
2024/07/15 10:33 upstream 0c3836482481 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __hci_cmd_sync_sk
2024/07/15 09:55 upstream 0c3836482481 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __hci_cmd_sync_sk
2024/07/11 19:07 upstream 9d9a2f29aefd c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __hci_cmd_sync_sk
2024/07/11 06:40 upstream a19ea421490d c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __hci_cmd_sync_sk
2024/07/08 10:24 upstream 256abd8e550c bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __hci_cmd_sync_sk
2024/07/05 07:23 upstream 661e504db04c dc6bbff0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __hci_cmd_sync_sk
2024/07/06 19:23 upstream 1dd28064d416 bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __hci_cmd_sync_sk
2024/07/24 15:56 net-next 58f9416d413a 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/24 02:31 net-next 58f9416d413a e50e8da5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/23 08:26 net-next 58f9416d413a 708c10c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/21 23:47 net-next 58f9416d413a b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/21 07:43 net-next 58f9416d413a b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/20 18:51 net-next 58f9416d413a b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/19 13:52 net-next 58f9416d413a ee4e11c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/18 02:05 net-next 58f9416d413a 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/13 14:38 net-next 58f9416d413a eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/13 00:31 net-next 58f9416d413a eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/12 11:55 net-next 58f9416d413a eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/12 10:25 net-next 58f9416d413a eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/10 15:15 net-next 746d684ea579 bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/10 06:38 net-next 746d684ea579 bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/10 05:55 net-next 746d684ea579 bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/09 19:29 net-next 0787ab206f80 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/09 17:37 net-next 0787ab206f80 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/09 12:14 net-next e0ee68a8bef9 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/09 11:29 net-next e0ee68a8bef9 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/09 10:01 net-next e0ee68a8bef9 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/09 07:57 net-next e0ee68a8bef9 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/09 07:28 net-next e0ee68a8bef9 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/08 03:04 net-next 2f5e6395714d 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/07 12:04 net-next 2f5e6395714d 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/07 10:22 net-next 2f5e6395714d 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/07 05:32 net-next 2f5e6395714d 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/06 08:13 net-next c7f79f2620b7 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __hci_cmd_sync_sk
2024/07/22 18:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 f063dfd9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __hci_cmd_sync_sk
* Struck through repros no longer work on HEAD.