------------[ cut here ]------------ workqueue: cannot queue hci_cmd_timeout on wq hci3 WARNING: CPU: 0 PID: 12603 at kernel/workqueue.c:2255 __queue_work+0xd03/0x1160 kernel/workqueue.c:2254 Modules linked in: CPU: 0 UID: 0 PID: 12603 Comm: syz.6.1923 Not tainted syzkaller #0 PREEMPT(full) 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+0xd03/0x1160 kernel/workqueue.c:2254 Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 4b 04 00 00 48 8b 75 18 4c 89 fa 48 c7 c7 a0 00 ac 8b e8 be 1e f7 ff 90 <0f> 0b 90 90 e9 2f f7 ff ff e8 ef 78 38 00 90 0f 0b 90 e9 b4 f5 ff RSP: 0018:ffffc90000007be8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817a3358 RDX: ffff8881060e8000 RSI: ffffffff817a3365 RDI: 0000000000000001 RBP: ffff88802634c970 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff92000000f8f R13: 0000000000000100 R14: ffffffff81832460 R15: ffff88802c3c0978 FS: 00007f38b33fe6c0(0000) GS:ffff8880d66b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000009d7000 CR3: 000000011b411000 CR4: 0000000000352ef0 Call Trace: call_timer_fn+0x197/0x620 kernel/time/timer.c:1747 expire_timers kernel/time/timer.c:1793 [inline] __run_timers+0x569/0x960 kernel/time/timer.c:2372 __run_timer_base kernel/time/timer.c:2384 [inline] __run_timer_base kernel/time/timer.c:2376 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2393 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2403 handle_softirqs+0x216/0x8e0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_is_held_type+0x107/0x150 kernel/locking/lockdep.c:5945 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 dc 00 43 08 83 f8 01 75 2d 9c 58 f6 c4 02 75 43 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f e9 c7 ff 02 00 45 31 ed eb RSP: 0018:ffffc900062e7ac8 EFLAGS: 00000282 RAX: 0000000000000046 RBX: ffff8881060e8af0 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8de2ace8 RDI: ffffffff8c162900 RBP: ffffffff8e5c11c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881060e8000 R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000001 lock_is_held include/linux/lockdep.h:249 [inline] __might_resched+0x473/0x5e0 kernel/sched/core.c:8919 __might_fault+0x83/0x190 mm/memory.c:6956 _inline_copy_from_user include/linux/uaccess.h:162 [inline] _copy_from_user+0x29/0xd0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:212 [inline] copy_from_sockptr_offset+0x15c/0x1b0 include/linux/sockptr.h:48 tcp_repair_options_est net/ipv4/tcp.c:3507 [inline] do_tcp_setsockopt+0x193f/0x2640 net/ipv4/tcp.c:3970 tcp_setsockopt+0xe2/0x100 net/ipv4/tcp.c:4112 do_sock_setsockopt+0xf3/0x1d0 net/socket.c:2344 __sys_setsockopt+0x1a0/0x230 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2372 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f38b258ebe9 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:00007f38b33fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f38b27b5fa0 RCX: 00007f38b258ebe9 RDX: 0000000000000016 RSI: 0000000000000006 RDI: 0000000000000008 RBP: 00007f38b2611e19 R08: 0000000020000328 R09: 0000000000000000 R10: 0000200000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f38b27b6038 R14: 00007f38b27b5fa0 R15: 00007ffd690cce48 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: b8 ff ff ff ff mov $0xffffffff,%eax 7: 65 0f c1 05 dc 00 43 xadd %eax,%gs:0x84300dc(%rip) # 0x84300eb e: 08 f: 83 f8 01 cmp $0x1,%eax 12: 75 2d jne 0x41 14: 9c pushf 15: 58 pop %rax 16: f6 c4 02 test $0x2,%ah 19: 75 43 jne 0x5e 1b: 48 f7 04 24 00 02 00 testq $0x200,(%rsp) 22: 00 23: 74 01 je 0x26 25: fb sti 26: 48 83 c4 08 add $0x8,%rsp * 2a: 44 89 e8 mov %r13d,%eax <-- trapping instruction 2d: 5b pop %rbx 2e: 5d pop %rbp 2f: 41 5c pop %r12 31: 41 5d pop %r13 33: 41 5e pop %r14 35: 41 5f pop %r15 37: e9 c7 ff 02 00 jmp 0x30003 3c: 45 31 ed xor %r13d,%r13d 3f: eb .byte 0xeb