watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.0:4521] Modules linked in: irq event stamp: 8429829 hardirqs last enabled at (8429828): [] asm_sysvec_irq_work+0x12/0x20 arch/x86/include/asm/idtentry.h:661 hardirqs last disabled at (8429829): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (8424842): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (8424845): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4521 Comm: syz-executor.0 Not tainted 5.10.109 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:__x86_indirect_thunk_rbx+0x0/0x5 arch/x86/include/asm/GEN-for-each-reg.h:3 Code: 02 cf ff 31 c0 e9 ff 02 cf ff eb 03 0f 1f 00 e8 07 00 00 00 f3 90 0f ae e8 eb f9 48 89 04 24 c3 66 2e 0f 1f 84 00 00 00 00 00 03 0f 1f 00 e8 07 00 00 00 f3 90 0f ae e8 eb f9 48 89 1c 24 c3 RSP: 0018:ffff88806ce09698 EFLAGS: 00000282 RAX: ffffffff830e06a1 RBX: ffffffff812f61f0 RCX: 1ffff1100d9c1201 RDX: 1ffff1100d9c12dd RSI: ffffffff830e06a1 RDI: ffff88806ce09758 RBP: ffff88806ce09728 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000030041 R11: 1ffff1100d9c12c1 R12: ffff88806ce09758 R13: 0000000000000000 R14: ffff888045841940 R15: 0000000000000170 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff1acc7080 CR3: 0000000004c26000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x73/0xf0 arch/x86/kernel/stacktrace.c:27 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+0xc2/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/0x350 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] __kmalloc_node_track_caller+0x1a6/0x3f0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0xb1/0x620 net/core/skbuff.c:210 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:446 netdev_alloc_skb include/linux/skbuff.h:2826 [inline] dev_alloc_skb include/linux/skbuff.h:2839 [inline] __ieee80211_beacon_get+0x3af/0x13a0 net/mac80211/tx.c:4874 ieee80211_beacon_get_tim+0x88/0x900 net/mac80211/tx.c:4988 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1736 __iterate_interfaces+0x1f0/0x530 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x72/0x180 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1789 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x5e8/0xb50 kernel/time/hrtimer.c:1647 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1664 __do_softirq+0x1b8/0x867 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+0x110/0x1a0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 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: 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 d1 fd ff ff 0f 1f 44 00 00 48 8b 34 24 <65> 48 8b 14 25 80 6f 02 00 65 8b 05 1c c0 c2 7e a9 00 01 ff 00 74 RSP: 0018:ffff8880484278a8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 00000000000001fe RCX: ffffffff81557920 RDX: 0000000000000193 RSI: ffffffff8155792d RDI: 0000000000000004 RBP: 0000000000000193 R08: 0000000000000001 R09: ffffea0000da35b7 R10: 00000000000001fe R11: 0000000000000001 R12: ffffea0000da3500 R13: dffffc0000000000 R14: ffff88800e207ca8 R15: ffffea0000da3580 release_pages+0x74d/0xc20 mm/swap.c:880 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:242 [inline] tlb_flush_mmu+0xe9/0x6e0 mm/mmu_gather.c:249 zap_pte_range mm/memory.c:1331 [inline] zap_pmd_range mm/memory.c:1380 [inline] zap_pud_range mm/memory.c:1409 [inline] zap_p4d_range mm/memory.c:1430 [inline] unmap_page_range+0x161b/0x1e30 mm/memory.c:1451 unmap_single_vma+0x198/0x300 mm/memory.c:1496 unmap_vmas+0x16d/0x2f0 mm/memory.c:1528 exit_mmap+0x27f/0x4e0 mm/mmap.c:3220 __mmput kernel/fork.c:1089 [inline] mmput+0xca/0x340 kernel/fork.c:1110 exit_mm kernel/exit.c:487 [inline] do_exit+0xb42/0x2770 kernel/exit.c:798 do_group_exit+0x125/0x310 kernel/exit.c:908 __do_sys_exit_group kernel/exit.c:919 [inline] __se_sys_exit_group kernel/exit.c:917 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:917 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fbf278e4b19 Code: Unable to access opcode bytes at RIP 0x7fbf278e4aef. RSP: 002b:00007fbf24e59bc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fbf279f7f60 RCX: 00007fbf278e4b19 RDX: 00007fbf278e4b19 RSI: 0000000000000000 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000000 R09: 00007fbf279f7f60 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3a3b62df R14: 00007fbf24e5a300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 1 skipped: idling at default_idle+0xe/0x10 arch/x86/kernel/process.c:689 kernel write not supported for file /vcs (pid: 12 comm: kworker/0:1) ---------------- Code disassembly (best guess), 3 bytes skipped: 0: 31 c0 xor %eax,%eax 2: e9 ff 02 cf ff jmpq 0xffcf0306 7: eb 03 jmp 0xc 9: 0f 1f 00 nopl (%rax) c: e8 07 00 00 00 callq 0x18 11: f3 90 pause 13: 0f ae e8 lfence 16: eb f9 jmp 0x11 18: 48 89 04 24 mov %rax,(%rsp) 1c: c3 retq 1d: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 24: 00 00 00 * 27: eb 03 jmp 0x2c <-- trapping instruction 29: 0f 1f 00 nopl (%rax) 2c: e8 07 00 00 00 callq 0x38 31: f3 90 pause 33: 0f ae e8 lfence 36: eb f9 jmp 0x31 38: 48 89 1c 24 mov %rbx,(%rsp) 3c: c3 retq