------------[ cut here ]------------ workqueue: cannot queue hci_cmd_work on wq hci0 WARNING: kernel/workqueue.c:2437 at __queue_work+0xdfc/0x1360 kernel/workqueue.c:2436, CPU#0: syz.0.0/5363 Modules linked in: CPU: 0 UID: 0 PID: 5363 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__queue_work+0xe1a/0x1360 kernel/workqueue.c:2436 Code: 28 78 01 00 00 4c 8d 35 24 0f 32 10 48 89 f8 48 c1 e8 03 80 3c 18 00 74 05 e8 52 d5 b2 00 49 8b 77 18 4c 89 f7 48 8b 54 24 28 <67> 48 0f b9 3a 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 RSP: 0018:ffffc90003b17a18 EFLAGS: 00010046 RAX: 1ffff1100a0ee181 RBX: dffffc0000000000 RCX: ffff88803920cb00 RDX: ffff888045128978 RSI: ffffffff8af4ea30 RDI: ffffffff91c0fe90 RBP: 0000000000000000 R08: ffff888050770bf7 R09: 1ffff1100a0ee17e R10: dffffc0000000000 R11: ffffed100a0ee17f R12: ffff8880451289c0 R13: 0000000000000008 R14: ffffffff91c0fe90 R15: ffff888050770bf0 FS: 00007f9ee12056c0(0000) GS:ffff88808aa01000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ed4896000 CR3: 00000000393c8000 CR4: 0000000000352ef0 Call Trace: queue_work_on+0x106/0x1d0 kernel/workqueue.c:2599 queue_work include/linux/workqueue.h:700 [inline] hci_send_cmd+0xb7/0x1a0 net/bluetooth/hci_core.c:3125 hci_add_sco net/bluetooth/hci_conn.c:212 [inline] hci_sco_setup+0x37c/0x550 net/bluetooth/hci_conn.c:634 hci_connect_sco+0x261/0x390 net/bluetooth/hci_conn.c:1935 sco_connect net/bluetooth/sco.c:375 [inline] sco_sock_connect+0x45e/0xb10 net/bluetooth/sco.c:764 connect_socket net/socket.c:2143 [inline] __sys_connect_file net/socket.c:2168 [inline] __sys_connect+0x316/0x450 net/socket.c:2185 __do_sys_connect net/socket.c:2191 [inline] __se_sys_connect net/socket.c:2188 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2188 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9ee039fb19 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9ee1204fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f9ee0626180 RCX: 00007f9ee039fb19 RDX: 0000000000000008 RSI: 0000200000005780 RDI: 0000000000000043 RBP: 00007f9ee0437af8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9ee0626218 R14: 00007f9ee0626180 R15: 00007ffd88edf958 ---------------- Code disassembly (best guess): 0: 28 78 01 sub %bh,0x1(%rax) 3: 00 00 add %al,(%rax) 5: 4c 8d 35 24 0f 32 10 lea 0x10320f24(%rip),%r14 # 0x10320f30 c: 48 89 f8 mov %rdi,%rax f: 48 c1 e8 03 shr $0x3,%rax 13: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 17: 74 05 je 0x1e 19: e8 52 d5 b2 00 call 0xb2d570 1e: 49 8b 77 18 mov 0x18(%r15),%rsi 22: 4c 89 f7 mov %r14,%rdi 25: 48 8b 54 24 28 mov 0x28(%rsp),%rdx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 4c 89 f8 mov %r15,%rax 32: 48 c1 e8 03 shr $0x3,%rax 36: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 3a: 74 08 je 0x44 3c: 4c 89 ff mov %r15,%rdi 3f: e8 .byte 0xe8