watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.5:4543] Modules linked in: irq event stamp: 8711959 hardirqs last enabled at (8711958): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (8711959): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (8683860): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (8683863): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 4543 Comm: syz-executor.5 Not tainted 5.10.237 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_next_frame+0x30b/0x1a90 arch/x86/kernel/unwind_orc.c:461 Code: 85 49 12 00 00 41 c6 45 34 01 48 c7 c1 60 87 eb 84 48 b8 00 00 00 00 00 fc ff df 4c 8d 79 04 4c 89 fa 48 c1 ea 03 0f b6 04 02 <4c> 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 b9 07 00 00 0f b6 41 04 RSP: 0018:ffff88806cf095d0 EFLAGS: 00000213 RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff85c626d0 RDX: 1ffffffff0b8c4da RSI: ffffffff85c626d0 RDI: ffffffff858adb0c RBP: ffff88806cf096dd R08: ffffffff85c626d0 R09: ffffffff85c626d6 R10: 0000000000032042 R11: 1ffff1100d9e12c2 R12: ffff88806cf096f0 R13: ffff88806cf096a8 R14: 1ffff1100d9e12c2 R15: ffffffff85c626d4 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d807081c50 CR3: 000000000cd8c000 CR4: 0000000000350ee0 Call Trace: 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 mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x310 mm/slub.c:2909 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] kmem_cache_alloc_node+0x169/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:200 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:448 netdev_alloc_skb include/linux/skbuff.h:2855 [inline] dev_alloc_skb include/linux/skbuff.h:2868 [inline] __ieee80211_beacon_get+0x3af/0x1440 net/mac80211/tx.c:4876 ieee80211_beacon_get_tim+0x88/0x9f0 net/mac80211/tx.c:4990 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x940 drivers/net/wireless/mac80211_hwsim.c:1740 __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:1588 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1652 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1669 __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:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:193 Code: ff ff b9 ff 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 4c b2 c1 7e a9 00 RSP: 0018:ffff888015af76b0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88804e40e758 RCX: ffffffff8167d59a RDX: 0000000000000000 RSI: ffff888047668000 RDI: 0000000000000001 RBP: ffffea0000faf340 R08: 0000000000000000 R09: ffffea0000faf347 R10: 0000000000000000 R11: 0000000000000001 R12: 00000000000000e9 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:3253 __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:0x7fe227f33b19 Code: Unable to access opcode bytes at RIP 0x7fe227f33aef. RSP: 002b:00007fe2254a9188 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: 0000000000000000 RBX: 00007fe228046f60 RCX: 00007fe227f33b19 RDX: 0000000000000009 RSI: 0000000000000001 RDI: 000000000000000b RBP: 00007fe227f8df6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8be4d41f R14: 00007fe2254a9300 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:711 ---------------- Code disassembly (best guess): 0: 85 49 12 test %ecx,0x12(%rcx) 3: 00 00 add %al,(%rax) 5: 41 c6 45 34 01 movb $0x1,0x34(%r13) a: 48 c7 c1 60 87 eb 84 mov $0xffffffff84eb8760,%rcx 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4c 8d 79 04 lea 0x4(%rcx),%r15 1f: 4c 89 fa mov %r15,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax * 2a: 4c 89 fa mov %r15,%rdx <-- trapping instruction 2d: 83 e2 07 and $0x7,%edx 30: 38 d0 cmp %dl,%al 32: 7f 08 jg 0x3c 34: 84 c0 test %al,%al 36: 0f 85 b9 07 00 00 jne 0x7f5 3c: 0f b6 41 04 movzbl 0x4(%rcx),%eax