watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.5:4040] Modules linked in: irq event stamp: 5335429 hardirqs last enabled at (5335428): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (5335429): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (5301640): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5301643): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 4040 Comm: syz-executor.5 Not tainted 5.10.229 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__tasklet_schedule_common+0xb5/0x140 kernel/softirq.c:519 Code: 85 8d 00 00 00 48 89 2b 44 89 ef 49 89 6f 08 e8 a1 f9 ff ff 65 8b 05 2a df ec 7e a9 00 ff ff 00 74 28 4d 85 f6 75 1c 41 54 9d <5b> 5d 41 5c 41 5d 41 5e 41 5f e9 8c af 0a 03 e8 37 9d 31 00 e9 59 RSP: 0018:ffff88806cf09b40 EFLAGS: 00000246 RAX: 000000000051697c RBX: ffff888045dc9488 RCX: 1ffffffff0d10c72 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81159043 RBP: ffff8880451e9488 R08: 0000000000000001 R09: ffffffff8686a72f R10: fffffbfff0d0d4e5 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000006 R14: 0000000000000200 R15: ffff88806cf27de0 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555571c67098 CR3: 00000000359e2000 CR4: 0000000000350ee0 Call Trace: tasklet_schedule include/linux/interrupt.h:688 [inline] ieee80211_rx_irqsafe+0x99/0xb0 net/mac80211/rx.c:4892 mac80211_hwsim_tx_frame_no_nl.isra.0+0xc3c/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1515 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 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 __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:compound_head include/linux/page-flags.h:187 [inline] RIP: 0010:PageSwapBacked include/linux/page-flags.h:357 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:402 [inline] RIP: 0010:free_swap_cache mm/swap_state.c:326 [inline] RIP: 0010:free_pages_and_swap_cache+0x9b/0x290 mm/swap_state.c:354 Code: 42 80 3c 28 00 0f 85 e9 01 00 00 48 8b 2b 48 8d 45 08 48 89 44 24 10 48 c1 e8 03 42 80 3c 28 00 0f 85 bf 01 00 00 48 8b 45 08 <31> ff 49 89 ef 48 89 44 24 08 83 e0 01 48 89 c6 48 89 04 24 e8 ec RSP: 0018:ffff888045d3f6b8 EFLAGS: 00000246 RAX: dead000000000100 RBX: ffff88801c840b50 RCX: ffffffff8167c6ac RDX: ffff888045a08000 RSI: ffffffff8167c6ba RDI: 0000000000000004 RBP: ffffea0000d64440 R08: 0000000000000000 R09: ffffea0000d64407 R10: 00000000000001fe R11: 0000000000000001 R12: 0000000000000168 R13: dffffc0000000000 R14: 00000000000001fe R15: 0000000000000000 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu+0xe9/0x6e0 mm/mmu_gather.c:247 zap_pte_range mm/memory.c:1355 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x17d9/0x1fe0 mm/memory.c:1475 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3235 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x2350 kernel/signal.c:2762 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f678eeceb19 Code: Unable to access opcode bytes at RIP 0x7f678eeceaef. RSP: 002b:00007f678c444218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f678efe1f68 RCX: 00007f678eeceb19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f678efe1f68 RBP: 00007f678efe1f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f678efe1f6c R13: 00007ffeff92676f R14: 00007f678c444300 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.229 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline] RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 40 8a f8 02 f3 90 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88806ce09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a06080 RCX: ffffffff8127b507 RDX: fffffbfff0f40c11 RSI: 0000000000000004 RDI: ffffffff87a06080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a06083 R10: fffffbfff0f40c10 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40c10 R14: 0000000000000001 R15: 1ffff1100d9c1348 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e8f2e3a60c CR3: 000000000fa46000 CR4: 0000000000350ef0 Call Trace: queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x1dc/0x260 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x695/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1450 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 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 __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: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 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: ffffffff85677748 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: 85 8d 00 00 00 48 test %ecx,0x48000000(%rbp) 6: 89 2b mov %ebp,(%rbx) 8: 44 89 ef mov %r13d,%edi b: 49 89 6f 08 mov %rbp,0x8(%r15) f: e8 a1 f9 ff ff callq 0xfffff9b5 14: 65 8b 05 2a df ec 7e mov %gs:0x7eecdf2a(%rip),%eax # 0x7eecdf45 1b: a9 00 ff ff 00 test $0xffff00,%eax 20: 74 28 je 0x4a 22: 4d 85 f6 test %r14,%r14 25: 75 1c jne 0x43 27: 41 54 push %r12 29: 9d popfq * 2a: 5b pop %rbx <-- trapping instruction 2b: 5d pop %rbp 2c: 41 5c pop %r12 2e: 41 5d pop %r13 30: 41 5e pop %r14 32: 41 5f pop %r15 34: e9 8c af 0a 03 jmpq 0x30aafc5 39: e8 37 9d 31 00 callq 0x319d75 3e: e9 .byte 0xe9 3f: 59 pop %rcx