------------[ cut here ]------------ workqueue: cannot queue hci_cmd_timeout on wq hci3 WARNING: CPU: 0 PID: 7606 at kernel/workqueue.c:2257 __queue_work+0xc9c/0x10f0 kernel/workqueue.c:2256 Modules linked in: CPU: 0 UID: 0 PID: 7606 Comm: syz.0.433 Not tainted 6.16.0-rc5-syzkaller-00224-g379f604cc3dc #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+0xc9c/0x10f0 kernel/workqueue.c:2256 Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 28 04 00 00 48 8b 75 18 4c 89 f2 48 c7 c7 c0 07 ac 8b e8 f5 16 f7 ff 90 <0f> 0b 90 90 e9 96 f7 ff ff e8 e6 1d 38 00 90 0f 0b 90 e9 1b f6 ff RSP: 0018:ffffc90000007be8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817af1a8 RDX: ffff8880445d2440 RSI: ffffffff817af1b5 RDI: 0000000000000001 RBP: ffff88802b704970 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff92000000f8f R13: 0000000000000100 R14: ffff888105105178 R15: 0000000000000001 FS: 00007f1100cca6c0(0000) GS:ffff8880d6713000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005b973000 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: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:6619 Code: 48 89 ef e8 b9 e5 ff ff 48 83 2d 79 6b 58 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 4c 74 0a 00 8b 05 6a 8d 11 0f 31 db 85 c0 74 RSP: 0018:ffffc90003f27818 EFLAGS: 00000246 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8df25e21 RDI: ffffffff8c158fa0 RBP: ffffffff97579a08 R08: 000000000003108b R09: ffffffff95f6bab6 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000246 R13: ffff88803b884000 R14: ffff88803b8844c0 R15: 0000000000000100 __qdisc_destroy+0x11a/0x4d0 net/sched/sch_generic.c:1081 qdisc_put+0xab/0xe0 net/sched/sch_generic.c:1107 shutdown_scheduler_queue+0xa5/0x160 net/sched/sch_generic.c:1160 netdev_for_each_tx_queue include/linux/netdevice.h:2655 [inline] dev_shutdown+0xb8/0x430 net/sched/sch_generic.c:1492 unregister_netdevice_many_notify+0xb3c/0x2700 net/core/dev.c:12065 unregister_netdevice_many net/core/dev.c:12140 [inline] unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:11984 unregister_netdevice include/linux/netdevice.h:3379 [inline] __tun_detach+0x1249/0x1540 drivers/net/tun.c:620 tun_detach drivers/net/tun.c:636 [inline] tun_chr_close+0xc2/0x230 drivers/net/tun.c:3396 __fput+0x402/0xb70 fs/file_table.c:465 task_work_run+0x14d/0x240 kernel/task_work.c:227 get_signal+0x1d1/0x26d0 kernel/signal.c:2807 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x84/0x110 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10ffd8e929 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:00007f1100cca038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f10fffb5fa0 RCX: 00007f10ffd8e929 RDX: 0000200000000040 RSI: 00000000400454ca RDI: 0000000000000008 RBP: 00007f10ffe10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f10fffb5fa0 R15: 00007ffeaf181218 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: e8 b9 e5 ff ff call 0xffffe5c1 8: 48 83 2d 79 6b 58 14 subq $0x1,0x14586b79(%rip) # 0x14586b89 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 4c 74 0a 00 jmp 0xa7481 35: 8b 05 6a 8d 11 0f mov 0xf118d6a(%rip),%eax # 0xf118da5 3b: 31 db xor %ebx,%ebx 3d: 85 c0 test %eax,%eax 3f: 74 .byte 0x74