Bluetooth: hci4: command 0x0406 tx timeout watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.2:5759] Modules linked in: irq event stamp: 3995695 hardirqs last enabled at (3995694): [<ffffffff84000d02>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (3995695): [<ffffffff83e6374b>] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (3988996): [<ffffffff84001092>] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (3988999): [<ffffffff84001092>] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 5759 Comm: syz-executor.2 Not tainted 5.10.230 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__orc_find+0x8f/0xf0 arch/x86/kernel/unwind_orc.c:49 Code: d8 48 c1 e8 03 42 0f b6 14 38 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 50 48 63 03 48 01 d8 48 39 c1 73 b0 4c 8d 63 fc <49> 39 ec 73 b3 4d 29 ee 49 c1 fe 02 4b 8d 04 76 48 8d 04 46 48 83 RSP: 0018:ffff88806cf09718 EFLAGS: 00000283 RAX: ffffffff81fecce4 RBX: ffffffff857ab3b4 RCX: ffffffff81fecc97 RDX: 0000000000000000 RSI: ffffffff85aded96 RDI: ffffffff857ab3a4 RBP: ffffffff857ab3a4 R08: ffffffff85aded96 R09: ffffffff85adedcc R10: 0000000000032042 R11: 1ffff1100d9e12f4 R12: ffffffff857ab3b0 R13: ffffffff857ab3a4 R14: ffffffff857ab3a4 R15: dffffc0000000000 FS: 00007fd741900700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2577e58718 CR3: 0000000054d9a000 CR4: 0000000000350ee0 Call Trace: <IRQ> orc_find arch/x86/kernel/unwind_orc.c:178 [inline] unwind_next_frame+0x2b3/0x1a90 arch/x86/kernel/unwind_orc.c:448 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track+0x1c/0x30 mm/kasan/common.c:56 kasan_set_free_info+0x1b/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0x110/0x160 mm/kasan/common.c:422 slab_free_hook mm/slub.c:1542 [inline] slab_free_freelist_hook+0xa9/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kfree+0xd7/0x340 mm/slub.c:4125 skb_free_head net/core/skbuff.c:605 [inline] skb_release_data+0x604/0x820 net/core/skbuff.c:625 skb_release_all net/core/skbuff.c:679 [inline] __kfree_skb net/core/skbuff.c:693 [inline] consume_skb net/core/skbuff.c:849 [inline] consume_skb+0x110/0x2b0 net/core/skbuff.c:843 mac80211_hwsim_tx_frame+0x15a/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1717 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 </IRQ> __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__preempt_count_sub arch/x86/include/asm/preempt.h:84 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x25/0x40 kernel/locking/spinlock.c:191 Code: 38 00 0f 1f 00 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 7a 66 3f fd 48 89 ef e8 d2 20 40 fd f6 c7 02 75 10 53 9d <65> ff 0d e4 89 1a 7c 5b 5d e9 5d 5a 38 00 e8 88 46 5f fd eb e9 66 RSP: 0018:ffff888048347760 EFLAGS: 00000246 RAX: 00000000002f6b8d RBX: 0000000000000246 RCX: 1ffffffff0d0fbda RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e7e568 RBP: ffff888008b35148 R08: 0000000000000001 R09: ffffffff8686a717 R10: fffffbfff0d0d4e2 R11: 0000000000000001 R12: ffff88800b8e88c0 R13: ffff8880483477f8 R14: 0000000000000001 R15: ffff888008b35148 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] klist_next+0x288/0x510 lib/klist.c:401 class_dev_iter_next drivers/base/class.c:316 [inline] class_find_device+0x174/0x2a0 drivers/base/class.c:420 class_find_device_by_devt include/linux/device/class.h:167 [inline] tty_get_device drivers/tty/tty_io.c:3061 [inline] alloc_tty_struct+0x69d/0x8e0 drivers/tty/tty_io.c:3108 tty_init_dev.part.0+0x20/0x610 drivers/tty/tty_io.c:1418 tty_init_dev+0x5b/0x80 drivers/tty/tty_io.c:1415 ptmx_open drivers/tty/pty.c:836 [inline] ptmx_open+0x116/0x370 drivers/tty/pty.c:802 chrdev_open+0x268/0x6e0 fs/char_dev.c:414 do_dentry_open+0x4b7/0x1090 fs/open.c:817 do_open fs/namei.c:3307 [inline] path_openat+0x19ba/0x2770 fs/namei.c:3425 do_filp_open+0x190/0x3e0 fs/namei.c:3452 do_sys_openat2+0x171/0x4d0 fs/open.c:1227 do_sys_open fs/open.c:1243 [inline] __do_sys_openat fs/open.c:1259 [inline] __se_sys_openat fs/open.c:1254 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1254 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fd74438ab19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd741900188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd74449df60 RCX: 00007fd74438ab19 RDX: 0000000000000c02 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007fd7443e4f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc2f8f8f9f R14: 00007fd741900300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.230 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__pvclock_read_cycles arch/x86/include/asm/pvclock.h:84 [inline] RIP: 0010:pvclock_clocksource_read+0x6f/0x520 arch/x86/kernel/pvclock.c:76 Code: 84 c1 0f 85 97 04 00 00 4c 89 e0 83 e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 0f 85 7f 04 00 00 48 8d 43 08 48 8d 7b 1c 8b 0b <48> bd 00 00 00 00 00 fc ff df 48 89 44 24 10 48 c1 e8 03 4c 8d 4b RSP: 0018:ffff88806ce09c28 EFLAGS: 00000046 RAX: ffffffff8614b008 RBX: ffffffff8614b000 RCX: 0000000000000008 RDX: 0000000000000000 RSI: ffff88806ce3b2d8 RDI: ffffffff8614b01c RBP: ffffffff856787bc R08: 0000000000000001 R09: 0000000000000003 R10: ffffed100d9c139d R11: 0000000000000001 R12: ffffffff8614b003 R13: ffff88806ce3bd90 R14: ffffffff84e32280 R15: ffff88806ce3b2d8 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe621e4e4f8 CR3: 0000000019d5a000 CR4: 0000000000350ef0 Call Trace: <NMI> </NMI> <IRQ> kvm_clock_read arch/x86/kernel/kvmclock.c:80 [inline] kvm_sched_clock_read+0x14/0x30 arch/x86/kernel/kvmclock.c:92 paravirt_sched_clock arch/x86/include/asm/paravirt.h:22 [inline] sched_clock+0x5/0x10 arch/x86/kernel/tsc.c:252 sched_clock_cpu+0x18/0x170 kernel/sched/clock.c:371 update_rq_clock+0xc7/0x400 kernel/sched/core.c:317 scheduler_tick+0xaf/0x330 kernel/sched/core.c:4015 update_process_times+0x15d/0x1b0 kernel/time/timer.c:1747 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:222 tick_sched_timer+0xe6/0x110 kernel/time/tick-sched.c:1384 __run_hrtimer kernel/time/hrtimer.c:1586 [inline] __hrtimer_run_queues+0x1ca/0xb40 kernel/time/hrtimer.c:1650 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1712 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0xfb/0x310 arch/x86/kernel/apic/apic.c:1112 asm_call_irq_on_stack+0x12/0x20 </IRQ> __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0x7f/0xa0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:default_idle+0xe/0x20 arch/x86/kernel/process.c:707 Code: 4e ff ff ff 4c 89 e7 e8 70 eb 84 fd eb 8f 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 e9 07 00 00 00 0f 00 2d 74 75 5a 00 fb f4 <e9> ad 76 38 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffffffff84e07e38 EFLAGS: 00000206 RAX: ffffffff83e7c900 RBX: 0000000000000000 RCX: ffffffff83e644dc RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e7cf08 RBP: fffffbfff09c6450 R08: 0000000000000001 R09: ffff88806ce3c12b R10: ffffed100d9c7825 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff85677788 R14: 0000000000000000 R15: dffffc0000000000 default_idle_call+0xbf/0x2c0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:194 [inline] do_idle+0x3ad/0x520 kernel/sched/idle.c:300 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396 start_kernel+0x464/0x489 init/main.c:1046 secondary_startup_64_no_verify+0xbe/0xcb ---------------- Code disassembly (best guess): 0: d8 48 c1 fmuls -0x3f(%rax) 3: e8 03 42 0f b6 callq 0xb60f420b 8: 14 38 adc $0x38,%al a: 48 89 d8 mov %rbx,%rax d: 83 e0 07 and $0x7,%eax 10: 83 c0 03 add $0x3,%eax 13: 38 d0 cmp %dl,%al 15: 7c 04 jl 0x1b 17: 84 d2 test %dl,%dl 19: 75 50 jne 0x6b 1b: 48 63 03 movslq (%rbx),%rax 1e: 48 01 d8 add %rbx,%rax 21: 48 39 c1 cmp %rax,%rcx 24: 73 b0 jae 0xffffffd6 26: 4c 8d 63 fc lea -0x4(%rbx),%r12 * 2a: 49 39 ec cmp %rbp,%r12 <-- trapping instruction 2d: 73 b3 jae 0xffffffe2 2f: 4d 29 ee sub %r13,%r14 32: 49 c1 fe 02 sar $0x2,%r14 36: 4b 8d 04 76 lea (%r14,%r14,2),%rax 3a: 48 8d 04 46 lea (%rsi,%rax,2),%rax 3e: 48 rex.W 3f: 83 .byte 0x83