------------[ cut here ]------------ workqueue: cannot queue hci_cmd_timeout on wq hci1 WARNING: CPU: 3 PID: 17168 at kernel/workqueue.c:2255 __queue_work+0xd03/0x1160 kernel/workqueue.c:2254 Modules linked in: CPU: 3 UID: 0 PID: 17168 Comm: syz.1.3047 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 60 ff ab 8b e8 de 4b f7 ff 90 <0f> 0b 90 90 e9 2f f7 ff ff e8 df 55 38 00 90 0f 0b 90 e9 b4 f5 ff RSP: 0018:ffffc900005e8be8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817a02f8 RDX: ffff8880241bc880 RSI: ffffffff817a0305 RDI: 0000000000000001 RBP: ffff8880268c0970 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff920000bd18f R13: 0000000000000100 R14: ffffffff8182c6e0 R15: ffff88802afd7978 FS: 0000000000000000(0000) GS:ffff8880977bd000(0063) knlGS:00000000f54c5b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000030608ff8 CR3: 0000000071ac7000 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:lockdep_unregister_key+0xe9/0x140 kernel/locking/lockdep.c:6616 Code: 48 89 ef e8 b9 e5 ff ff 48 83 2d 09 f8 5e 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 bc 75 0a 00 8b 05 aa d4 14 0f 31 db 85 c0 74 RSP: 0018:ffffc90023c77a80 EFLAGS: 00000246 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8df424da RDI: ffffffff8c163180 RBP: ffffffff975afa38 R08: 0000000000005d20 R09: ffffffff95f6b420 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000246 R13: ffff8880286bc000 R14: ffff8880286bc4c0 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:2660 [inline] dev_shutdown+0xb8/0x430 net/sched/sch_generic.c:1494 unregister_netdevice_many_notify+0xb2c/0x24c0 net/core/dev.c:12154 unregister_netdevice_many net/core/dev.c:12229 [inline] unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:12073 unregister_netdevice include/linux/netdevice.h:3385 [inline] __tun_detach+0x1249/0x1540 drivers/net/tun.c:621 tun_detach drivers/net/tun.c:637 [inline] tun_chr_close+0xc2/0x230 drivers/net/tun.c:3433 __fput+0x3ff/0xb70 fs/file_table.c:468 task_work_run+0x14d/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 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_fast_syscall_32+0x2ac/0x3a0 arch/x86/entry/syscall_32.c:309 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7fe4579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f54c555c EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00000000400454ca RDX: 0000000080000040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: e8 b9 e5 ff ff call 0xffffe5c1 8: 48 83 2d 09 f8 5e 14 subq $0x1,0x145ef809(%rip) # 0x145ef819 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 bc 75 0a 00 jmp 0xa75f1 35: 8b 05 aa d4 14 0f mov 0xf14d4aa(%rip),%eax # 0xf14d4e5 3b: 31 db xor %ebx,%ebx 3d: 85 c0 test %eax,%eax 3f: 74 .byte 0x74