watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.2:4200] Modules linked in: irq event stamp: 5702629 hardirqs last enabled at (5702628): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (5702629): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (5688648): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5688651): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 4200 Comm: syz-executor.2 Not tainted 5.10.234 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:68 Code: 0a fe ff ff e8 0e 45 5c 00 e9 bf fd ff ff e8 04 45 5c 00 e9 8c fd ff ff e8 fa 44 5c 00 e9 44 fd ff ff cc cc cc cc cc 48 8b 07 88 d4 0f 03 0f 1f 84 00 00 00 00 00 41 57 89 d0 41 56 41 55 41 RSP: 0018:ffff88806cf09598 EFLAGS: 00000283 RAX: 0000000000000002 RBX: ffff88806cf096e8 RCX: ffff88806cf096e8 RDX: dffffc0000000000 RSI: ffff88806cf09ad8 RDI: ffff88806cf09ad8 RBP: ffff88806cf09ad8 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9e12c2 R12: ffff88806cf096a8 R13: ffff88806cf02000 R14: 1ffff1100d9e12c2 R15: ffffffff85a15c38 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7293713998 CR3: 0000000015a40000 CR4: 0000000000350ee0 Call Trace: deref_stack_reg+0xf2/0x160 arch/x86/kernel/unwind_orc.c:360 unwind_next_frame+0x1289/0x1a90 arch/x86/kernel/unwind_orc.c:589 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: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:185 [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+0x7f/0x290 mm/swap_state.c:354 Code: 89 e6 e8 84 ee d8 ff 45 39 e6 0f 84 9c 01 00 00 e8 a6 f5 d8 ff 48 89 d8 48 c1 e8 03 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 RSP: 0018:ffff888047a6f6b8 EFLAGS: 00000246 RAX: 1ffff11003d91a20 RBX: ffff88801ec8d100 RCX: ffffffff8167c25c RDX: ffff888047a60000 RSI: ffffffff8167c26a RDI: 0000000000000004 RBP: ffffea0000de9740 R08: 0000000000000000 R09: ffffea0000de9707 R10: 00000000000001e4 R11: 0000000000000001 R12: 000000000000001e R13: dffffc0000000000 R14: 00000000000001e4 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: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:0x7fc2b9470b19 Code: Unable to access opcode bytes at RIP 0x7fc2b9470aef. RSP: 002b:00007fc2b69e6188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: 0000000000000000 RBX: 00007fc2b9583f60 RCX: 00007fc2b9470b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000002020280 RBP: 00007fc2b94caf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffccebca35f R14: 00007fc2b69e6300 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), 4 bytes skipped: 0: e8 0e 45 5c 00 callq 0x5c4513 5: e9 bf fd ff ff jmpq 0xfffffdc9 a: e8 04 45 5c 00 callq 0x5c4513 f: e9 8c fd ff ff jmpq 0xfffffda0 14: e8 fa 44 5c 00 callq 0x5c4513 19: e9 44 fd ff ff jmpq 0xfffffd62 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: 48 8b 07 mov (%rdi),%rax * 26: e9 88 d4 0f 03 jmpq 0x30fd4b3 <-- trapping instruction 2b: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 32: 00 33: 41 57 push %r15 35: 89 d0 mov %edx,%eax 37: 41 56 push %r14 39: 41 55 push %r13 3b: 41 rex.B