watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.6:6589] Modules linked in: irq event stamp: 2266457 hardirqs last enabled at (2266456): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (2266457): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (2232770): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (2232773): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 6589 Comm: syz-executor.6 Not tainted 5.10.191 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 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: 3a 00 0f 1f 00 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 8a c8 41 fd 48 89 ef e8 52 82 42 fd f6 c7 02 75 10 53 9d <65> ff 0d c4 1f 1d 7c 5b 5d e9 9d f0 3a 00 e8 48 81 61 fd eb e9 66 RSP: 0018:ffff88806cf09b70 EFLAGS: 00000246 RAX: 0000000000229534 RBX: 0000000000000246 RCX: 1ffffffff0acdc39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e54f88 RBP: ffffffff850a5aa0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800ef37440 R13: ffff88800e6f77e8 R14: ffff888008041280 R15: ffff8880389e4400 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556365c58 CR3: 000000000d9a4000 CR4: 0000000000350ee0 Call Trace: find_and_remove_object+0xe4/0x120 mm/kmemleak.c:553 delete_object_full mm/kmemleak.c:684 [inline] kmemleak_free+0x1f/0x40 mm/kmemleak.c:966 kmemleak_free_recursive include/linux/kmemleak.h:49 [inline] slab_free_hook mm/slub.c:1517 [inline] slab_free_freelist_hook+0x13e/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:604 [inline] skb_release_data+0x604/0x820 net/core/skbuff.c:624 skb_release_all net/core/skbuff.c:678 [inline] __kfree_skb net/core/skbuff.c:692 [inline] consume_skb net/core/skbuff.c:848 [inline] consume_skb+0x110/0x2b0 net/core/skbuff.c:842 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:1583 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1647 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1664 __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:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:196 Code: ff ff ff b8 08 00 00 00 4d 8b 17 49 8b 16 48 0f bd c8 48 63 c9 e9 5e ff ff ff 4c 01 d2 49 89 17 e9 cd fd ff ff 90 48 8b 34 24 <65> 48 8b 14 25 80 6f 02 00 65 8b 05 6c f8 c1 7e a9 00 01 ff 00 74 RSP: 0018:ffff8880366076b0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880474baed0 RCX: ffffffff8167440a RDX: 0000000000000000 RSI: ffffffff81674359 RDI: 0000000000000001 RBP: ffffea00010b4580 R08: 0000000000000000 R09: ffffea00010b4587 R10: 0000000000000000 R11: 0000000000000001 R12: 00000000000001d8 R13: dffffc0000000000 R14: 00000000000001fe R15: 0000000000000000 free_pages_and_swap_cache+0x49/0x290 mm/swap_state.c:353 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:1093 [inline] mmput+0xca/0x340 kernel/fork.c:1114 exit_mm kernel/exit.c:534 [inline] do_exit+0xa96/0x2600 kernel/exit.c:845 do_group_exit+0x125/0x310 kernel/exit.c:980 get_signal+0x4bc/0x22f0 kernel/signal.c:2751 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/0x1e0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xcc RIP: 0033:0x7f80c27abb19 Code: Unable to access opcode bytes at RIP 0x7f80c27abaef. RSP: 002b:00007f80bfd21188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: fffffffffffffffc RBX: 00007f80c28bef60 RCX: 00007f80c27abb19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f80c2805f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd00817ddf R14: 00007f80bfd21300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 0 skipped: idling at default_idle+0xe/0x20 arch/x86/kernel/process.c:706 ---------------- Code disassembly (best guess): 0: 3a 00 cmp (%rax),%al 2: 0f 1f 00 nopl (%rax) 5: 55 push %rbp 6: 48 89 fd mov %rdi,%rbp 9: 48 83 c7 18 add $0x18,%rdi d: 53 push %rbx e: 48 89 f3 mov %rsi,%rbx 11: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 16: e8 8a c8 41 fd callq 0xfd41c8a5 1b: 48 89 ef mov %rbp,%rdi 1e: e8 52 82 42 fd callq 0xfd428275 23: f6 c7 02 test $0x2,%bh 26: 75 10 jne 0x38 28: 53 push %rbx 29: 9d popfq * 2a: 65 ff 0d c4 1f 1d 7c decl %gs:0x7c1d1fc4(%rip) # 0x7c1d1ff5 <-- trapping instruction 31: 5b pop %rbx 32: 5d pop %rbp 33: e9 9d f0 3a 00 jmpq 0x3af0d5 38: e8 48 81 61 fd callq 0xfd618185 3d: eb e9 jmp 0x28 3f: 66 data16