------------[ cut here ]------------ workqueue: cannot queue hci_cmd_timeout on wq hci3 WARNING: CPU: 2 PID: 32263 at kernel/workqueue.c:2257 __queue_work+0xd03/0x1160 kernel/workqueue.c:2256 Modules linked in: CPU: 2 UID: 0 PID: 32263 Comm: syz.6.11264 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:2256 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 20 27 8c 8b e8 1e 15 f7 ff 90 <0f> 0b 90 90 e9 2f f7 ff ff e8 4f e3 38 00 90 0f 0b 90 e9 b4 f5 ff RSP: 0018:ffffc90000648be8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817b3ee8 RDX: ffff88803f054900 RSI: ffffffff817b3ef5 RDI: 0000000000000001 RBP: ffff888038660978 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff920000c918f R13: 0000000000000100 R14: ffffffff81843990 R15: ffff888054a2b978 FS: 0000555577daf500(0000) GS:ffff8880d6c0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2eb9bb CR3: 000000002af55000 CR4: 0000000000352ef0 Call Trace: call_timer_fn+0x19a/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+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:lockdep_unregister_key+0xe9/0x140 kernel/locking/lockdep.c:6616 Code: 48 89 ef e8 b9 e5 ff ff 48 83 2d 29 9f 28 14 01 89 c3 e8 da ee ff ff 9c 58 f6 c4 02 75 52 41 f7 c4 00 02 00 00 74 01 fb 84 db <75> 1b 5b 5d 41 5c e9 ac 77 0a 00 8b 05 aa 9c e9 0e 31 db 85 c0 74 RSP: 0018:ffffc90007417a98 EFLAGS: 00000246 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8db19b27 RDI: ffffffff8bf06e40 RBP: ffffffff97282a88 R08: 000000000005f094 R09: ffffffff95cd0b48 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000246 R13: ffff888012438000 R14: ffff8880124384c8 R15: 0000000000000100 __qdisc_destroy+0x11a/0x4d0 net/sched/sch_generic.c:1083 qdisc_put+0xab/0xe0 net/sched/sch_generic.c:1109 shutdown_scheduler_queue+0xa5/0x160 net/sched/sch_generic.c:1162 netdev_for_each_tx_queue include/linux/netdevice.h:2664 [inline] dev_shutdown+0xb8/0x430 net/sched/sch_generic.c:1494 unregister_netdevice_many_notify+0xb12/0x25c0 net/core/dev.c:12272 unregister_netdevice_many net/core/dev.c:12347 [inline] unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:12161 unregister_netdevice include/linux/netdevice.h:3389 [inline] __tun_detach+0x119c/0x1490 drivers/net/tun.c:621 tun_detach drivers/net/tun.c:637 [inline] tun_chr_close+0xc2/0x230 drivers/net/tun.c:3436 __fput+0x402/0xb70 fs/file_table.c:468 task_work_run+0x150/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x426/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f848d58efc9 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:00007ffd3cc4e008 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000006dbee RCX: 00007f848d58efc9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f848d7e7da0 R08: 0000000000000001 R09: 0000000a3cc4e2ff R10: 0000001b32820000 R11: 0000000000000246 R12: 00007f848d7e5fac R13: 00007f848d7e5fa0 R14: ffffffffffffffff R15: 00007ffd3cc4e120 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: e8 b9 e5 ff ff call 0xffffe5c1 8: 48 83 2d 29 9f 28 14 subq $0x1,0x14289f29(%rip) # 0x14289f39 f: 01 10: 89 c3 mov %eax,%ebx 12: e8 da ee ff ff call 0xffffeef1 17: 9c pushf 18: 58 pop %rax 19: f6 c4 02 test $0x2,%ah 1c: 75 52 jne 0x70 1e: 41 f7 c4 00 02 00 00 test $0x200,%r12d 25: 74 01 je 0x28 27: fb sti 28: 84 db test %bl,%bl * 2a: 75 1b jne 0x47 <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: 41 5c pop %r12 30: e9 ac 77 0a 00 jmp 0xa77e1 35: 8b 05 aa 9c e9 0e mov 0xee99caa(%rip),%eax # 0xee99ce5 3b: 31 db xor %ebx,%ebx 3d: 85 c0 test %eax,%eax 3f: 74 .byte 0x74