syzbot


WARNING in hci_send_cmd (2)

Status: upstream: reported on 2025/02/26 06:18
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+d04bd412c1b0e2f36647@syzkaller.appspotmail.com
First crash: 65d, last: 4h15m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] WARNING in hci_send_cmd (2) 0 (1) 2025/02/26 06:18
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in hci_send_cmd bluetooth 8 193d 441d 0/28 auto-obsoleted due to no activity on 2025/01/25 05:20

Sample crash report:
Bluetooth: MGMT ver 1.23
------------[ cut here ]------------
workqueue: cannot queue hci_cmd_work on wq hci0
WARNING: CPU: 0 PID: 10256 at kernel/workqueue.c:2258 __queue_work+0xd62/0xfe0 kernel/workqueue.c:2256
Modules linked in:
CPU: 0 UID: 0 PID: 10256 Comm: syz.1.1105 Not tainted 6.15.0-rc3-syzkaller-00109-gf73f05c6f711 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:__queue_work+0xd62/0xfe0 kernel/workqueue.c:2256
Code: 42 80 3c 20 00 74 08 4c 89 ef e8 09 d7 96 00 49 8b 75 00 49 81 c7 78 01 00 00 48 c7 c7 60 c8 69 8b 4c 89 fa e8 9f 40 f9 ff 90 <0f> 0b 90 90 e9 f1 f4 ff ff e8 90 e1 34 00 90 0f 0b 90 e9 dd fc ff
RSP: 0018:ffffc9000399f6e8 EFLAGS: 00010046
RAX: 57b5d4c791c45500 RBX: 0000000000000000 RCX: ffff88802f029e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 1ffff1100b36cc38 R08: ffff8880b8823e93 R09: 1ffff110171047d2
R10: dffffc0000000000 R11: ffffed10171047d3 R12: dffffc0000000000
R13: ffff888027888ae0 R14: ffff88802f029e00 R15: ffff888059b66178
FS:  00007f2bc9b476c0(0000) GS:ffff8881260cf000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff46601010 CR3: 0000000048e7c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 queue_work_on+0x181/0x270 kernel/workqueue.c:2392
 queue_work include/linux/workqueue.h:662 [inline]
 hci_send_cmd+0xb7/0x180 net/bluetooth/hci_core.c:3059
 set_link_security+0x58a/0x710 net/bluetooth/mgmt.c:1915
 hci_mgmt_cmd+0x9c6/0xef0 net/bluetooth/hci_sock.c:1712
 hci_sock_sendmsg+0x6ca/0xee0 net/bluetooth/hci_sock.c:1832
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg+0x219/0x270 net/socket.c:727
 sock_write_iter+0x258/0x330 net/socket.c:1131
 new_sync_write fs/read_write.c:591 [inline]
 vfs_write+0x548/0xa90 fs/read_write.c:684
 ksys_write+0x145/0x250 fs/read_write.c:736
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2bc8d8e969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2bc9b47038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2bc8fb6160 RCX: 00007f2bc8d8e969
RDX: 0000000000000007 RSI: 0000200000000000 RDI: 0000000000000004
RBP: 00007f2bc8e10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f2bc8fb6160 R15: 00007fff46600bf8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/28 09:06 net f73f05c6f711 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hci_send_cmd
2025/02/22 06:08 net 28b04731a38c d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hci_send_cmd
* Struck through repros no longer work on HEAD.