watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.5:8848] Modules linked in: irq event stamp: 17211085 hardirqs last enabled at (17211084): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (17211085): [] sysvec_apic_timer_interrupt+0xf/0xc0 softirqs last enabled at (17202690): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (17202693): [] __irq_exit_rcu+0x11b/0x180 CPU: 0 PID: 8848 Comm: syz-executor.5 Not tainted 6.1.0-rc6-next-20221128 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:stack_access_ok+0xa5/0x1d0 Code: 01 00 00 48 8b 43 10 49 39 ed 77 1a 48 39 e8 76 15 4a 8d 54 25 00 48 39 d0 0f 93 c0 49 39 d5 0f 92 c2 20 d0 75 38 48 8d 7b 28 <48> 8d 4b 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 RSP: 0018:ffff88806ce09660 EFLAGS: 00000206 RAX: ffff88806ce0a000 RBX: ffff88806ce09718 RCX: 0000000000000002 RDX: 1ffff1100d9c12e5 RSI: ffff888044eb7340 RDI: ffff88806ce09740 RBP: ffff888044eb7340 R08: ffffffff8645b224 R09: ffffffff8645b228 R10: ffff88806ce09ff8 R11: ffff88806ce09758 R12: 0000000000000008 R13: ffff88806ce02000 R14: ffff88806ce09718 R15: ffffffff8645b229 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fda4329e40 CR3: 0000000005426000 CR4: 0000000000350ef0 Call Trace: unwind_next_frame+0x94e/0x2130 arch_stack_walk+0x87/0xf0 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 kasan_set_track+0x25/0x30 __kasan_slab_alloc+0x5c/0x70 kmem_cache_alloc_node+0x1f5/0x420 __alloc_skb+0x21a/0x310 skb_copy+0x13d/0x3d0 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb6d/0x1360 mac80211_hwsim_tx_frame+0x1ee/0x2a0 mac80211_hwsim_beacon_tx+0x566/0xab0 __iterate_interfaces+0x2d3/0x560 ieee80211_iterate_active_interfaces_atomic+0x74/0x180 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x54b/0xba0 hrtimer_run_softirq+0x176/0x350 __do_softirq+0x1c7/0x8f9 __irq_exit_rcu+0x11b/0x180 irq_exit_rcu+0x9/0x30 sysvec_apic_timer_interrupt+0x92/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:lock_acquire+0x1df/0x530 Code: 03 b8 ff ff ff ff 65 0f c1 05 35 66 d6 7e 83 f8 01 0f 85 c8 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffff888044eb73f8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff110089d6e81 RCX: 00000000ef9e7a6d RDX: 1ffff110081d612b RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff87628847 R10: fffffbfff0ec5108 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff85608040 R15: 0000000000000000 __is_insn_slot_addr+0x41/0x250 kernel_text_address+0x5b/0xc0 __kernel_text_address+0xd/0x40 unwind_get_return_address+0x59/0xa0 arch_stack_walk+0x9d/0xf0 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 __kasan_record_aux_stack+0x95/0xb0 __call_rcu_common.constprop.0+0x6a/0xa40 __kmem_cache_free+0x95/0x410 kvfree+0x46/0x50 free_netdev+0xab/0x680 netdev_run_todo+0x9b1/0xe20 tun_chr_close+0xe4/0x190 __fput+0x263/0xa40 task_work_run+0x174/0x280 do_exit+0xa8e/0x2720 do_group_exit+0xd4/0x2a0 get_signal+0x21a5/0x22e0 arch_do_signal_or_restart+0x79/0x5a0 exit_to_user_mode_prepare+0x131/0x1a0 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f2359a61b19 Code: Unable to access opcode bytes at 0x7f2359a61aef. RSP: 002b:00007f2356fd7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 000000000000000a RBX: 00007f2359b74f60 RCX: 00007f2359a61b19 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000002 RBP: 00007f2359abbf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffef7ef32df R14: 00007f2356fd7300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8853 Comm: syz-executor.3 Not tainted 6.1.0-rc6-next-20221128 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:lapic_next_deadline+0x25/0x50 Code: 90 90 90 90 90 f3 0f 1e fa 0f ae f0 0f ae e8 0f 31 48 c1 e2 20 b9 e0 06 00 00 48 09 c2 48 8d 04 fa 48 89 c2 48 c1 ea 20 0f 30 <66> 90 31 c0 e9 96 0c 31 03 48 89 c6 31 d2 bf e0 06 00 00 e8 13 fe RSP: 0018:ffff88806cf09840 EFLAGS: 00000012 RAX: 0000023e7fef5cec RBX: 0000000000000000 RCX: 00000000000006e0 RDX: 000000000000023e RSI: ffff88806cf28100 RDI: 00000000000003cb RBP: ffff88806cf28100 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000adc R11: 0000000000000001 R12: 00000000000003cb R13: 0000000000000000 R14: 0000000000000001 R15: ffff88806cf2b840 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0007d1000 CR3: 000000001b178000 CR4: 0000000000350ee0 Call Trace: clockevents_program_event+0x248/0x360 tick_program_event+0xb0/0x150 hrtimer_interrupt+0x36a/0x770 __sysvec_apic_timer_interrupt+0x148/0x500 sysvec_apic_timer_interrupt+0x3f/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:queued_spin_lock_slowpath+0x128/0xc80 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 cd 0a 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 ce 1f 00 00 f3 90 71 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e5 00 00 RSP: 0018:ffff88806cf09a28 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff844112bb RDX: fffffbfff0b4814d RSI: 0000000000000004 RDI: ffffffff85a40a60 RBP: ffffffff85a40a60 R08: 0000000000000000 R09: ffffffff85a40a63 R10: fffffbfff0b4814c R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0b4814c R14: 0000000000000001 R15: 1ffff1100d9e1346 do_raw_spin_lock+0x1e0/0x270 mac80211_hwsim_tx_frame_no_nl.isra.0+0x6f1/0x1360 mac80211_hwsim_tx_frame+0x1ee/0x2a0 mac80211_hwsim_beacon_tx+0x566/0xab0 __iterate_interfaces+0x2d3/0x560 ieee80211_iterate_active_interfaces_atomic+0x74/0x180 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x54b/0xba0 hrtimer_run_softirq+0x176/0x350 __do_softirq+0x1c7/0x8f9 __irq_exit_rcu+0x11b/0x180 irq_exit_rcu+0x9/0x30 sysvec_apic_timer_interrupt+0x92/0xc0 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:rtnl_is_locked+0x4/0x20 Code: c7 c7 40 33 b5 85 e9 9b fb e9 00 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 77 4d f3 fd 48 c7 c7 40 33 b5 85 e8 bb 9d d4 fd 0f b6 c0 e9 77 RSP: 0018:ffff88803f9775c8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880440a6a8f RCX: 0000000000000000 RDX: ffff88803e841ac0 RSI: ffffffff8393c108 RDI: ffff888043fd5800 RBP: ffff888043fd5800 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88803f977680 R13: 0000000000000007 R14: ffff8880440a6a80 R15: dffffc0000000000 call_fib4_notifiers+0x1d/0x100 fib_sync_down_dev+0x703/0xc90 fib_netdev_event+0x1b2/0x6a0 raw_notifier_call_chain+0xb7/0x110 call_netdevice_notifiers_info+0xb5/0x130 dev_close_many+0x25c/0x460 unregister_netdevice_many_notify+0x35f/0x15e0 unregister_netdevice_queue+0x209/0x2c0 __tun_detach+0x1001/0x12f0 tun_chr_close+0xc8/0x190 __fput+0x263/0xa40 task_work_run+0x174/0x280 do_exit+0xa8e/0x2720 do_group_exit+0xd4/0x2a0 get_signal+0x21a5/0x22e0 arch_do_signal_or_restart+0x79/0x5a0 exit_to_user_mode_prepare+0x131/0x1a0 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f8c8f73fb19 Code: Unable to access opcode bytes at 0x7f8c8f73faef. RSP: 002b:00007f8c8ccb5188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: 0000000000000005 RBX: 00007f8c8f852f60 RCX: 00007f8c8f73fb19 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f8c8f799f6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb495351f R14: 00007f8c8ccb5300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 01 00 add %eax,(%rax) 2: 00 48 8b add %cl,-0x75(%rax) 5: 43 10 49 39 rex.XB adc %cl,0x39(%r9) 9: ed in (%dx),%eax a: 77 1a ja 0x26 c: 48 39 e8 cmp %rbp,%rax f: 76 15 jbe 0x26 11: 4a 8d 54 25 00 lea 0x0(%rbp,%r12,1),%rdx 16: 48 39 d0 cmp %rdx,%rax 19: 0f 93 c0 setae %al 1c: 49 39 d5 cmp %rdx,%r13 1f: 0f 92 c2 setb %dl 22: 20 d0 and %dl,%al 24: 75 38 jne 0x5e 26: 48 8d 7b 28 lea 0x28(%rbx),%rdi * 2a: 48 8d 4b 20 lea 0x20(%rbx),%rcx <-- trapping instruction 2e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 35: fc ff df 38: 48 89 fa mov %rdi,%rdx 3b: 48 c1 ea 03 shr $0x3,%rdx 3f: 80 .byte 0x80