watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.4:5048] Modules linked in: irq event stamp: 4882669 hardirqs last enabled at (4882668): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4882669): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (50302): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (50305): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5048 Comm: syz-executor.4 Not tainted 5.10.226 #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 6e 27 5c 00 e9 bf fd ff ff e8 64 27 5c 00 e9 8c fd ff ff e8 5a 27 5c 00 e9 44 fd ff ff cc cc cc cc cc 48 8b 07 58 d5 0f 03 0f 1f 84 00 00 00 00 00 41 57 89 d0 41 56 41 55 41 RSP: 0018:ffff88806ce09638 EFLAGS: 00000297 RAX: ffffffff83e5b403 RBX: ffff88806ce09790 RCX: ffff88806ce09790 RDX: dffffc0000000000 RSI: ffff888047b07f40 RDI: ffff888047b07f40 RBP: ffff888047b07f40 R08: ffffffff85984c29 R09: ffff888047b07f48 R10: 0000000000032042 R11: 1ffff1100d9c12d6 R12: ffff88806ce09748 R13: ffff888047b00000 R14: 1ffff1100d9c12d6 R15: ffffffff85984c28 FS: 00007f61d55f4700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff6f478e718 CR3: 000000001e268000 CR4: 0000000000350ef0 Call Trace: deref_stack_reg+0xf2/0x160 arch/x86/kernel/unwind_orc.c:360 unwind_next_frame+0xbf8/0x1a90 arch/x86/kernel/unwind_orc.c:536 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] kmem_cache_alloc_node+0x14b/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199 skb_copy+0x183/0x350 net/core/skbuff.c:1529 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb1d/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1499 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:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:get_page include/linux/mm.h:1165 [inline] RIP: 0010:copy_present_pte mm/memory.c:885 [inline] RIP: 0010:copy_pte_range mm/memory.c:990 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1070 [inline] RIP: 0010:copy_pud_range mm/memory.c:1107 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1131 [inline] RIP: 0010:copy_page_range+0x1028/0x3810 mm/memory.c:1204 Code: ee a3 0b 00 4c 89 f0 48 c1 e8 03 42 0f b6 0c 38 4c 89 f0 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 ee 20 00 00 48 8b 44 24 60 7f 00 00 00 8b 40 34 83 c0 7f 89 c6 89 84 24 98 00 00 00 e8 9f RSP: 0018:ffff888047b078e0 EFLAGS: 00000246 RAX: ffffea0000effe80 RBX: 800000003bffa007 RCX: 0000000000000000 RDX: fffff940001dffd7 RSI: 0000000000000004 RDI: ffffea0000effeb4 RBP: ffff88804851d6d8 R08: 0000000000000000 R09: ffffea0000effeb7 R10: fffff940001dffd6 R11: 0000000000000001 R12: 00000000100400fb R13: ffffea0000effe80 R14: ffffea0000effeb4 R15: dffffc0000000000 dup_mmap kernel/fork.c:596 [inline] dup_mm kernel/fork.c:1380 [inline] copy_mm kernel/fork.c:1436 [inline] copy_process+0x759b/0x7800 kernel/fork.c:2126 kernel_clone+0xe7/0x980 kernel/fork.c:2506 __do_sys_fork+0x8a/0xc0 kernel/fork.c:2569 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f61d807eb19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f61d55f4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007f61d8191f60 RCX: 00007f61d807eb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f61d80d8f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe305ed1f R14: 00007f61d55f4300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:instrument_atomic_read include/linux/instrumented.h:71 [inline] RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:27 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:99 [inline] RIP: 0010:queued_spin_lock_slowpath+0x9a/0x8c0 kernel/locking/qspinlock.c:326 Code: 0f 1f 44 00 00 49 89 fd 49 89 fc 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 c1 ed 03 41 83 e4 07 49 01 c5 41 83 c4 03 04 00 00 00 48 89 df e8 59 d0 44 00 41 0f b6 45 00 41 38 c4 7c RSP: 0018:ffff88806cf09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a04080 RCX: ffffffff81279b47 RDX: fffffbfff0f40811 RSI: 0000000000000004 RDI: ffffffff87a04080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04083 R10: fffffbfff0f40810 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40810 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ff6f61d678 CR3: 000000000cbfe000 CR4: 0000000000350ee0 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:1094 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 10 1d 85 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 c4 c9 5a 00 fb f4 fd ca 38 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffff88800898fe70 EFLAGS: 00000202 RAX: ffffffff83e774b0 RBX: 0000000000000001 RCX: ffffffff83e5f08c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e77ab8 RBP: ffffed1001130000 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85675ec8 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 secondary_startup_64_no_verify+0xbe/0xcb ---------------- Code disassembly (best guess), 4 bytes skipped: 0: e8 6e 27 5c 00 callq 0x5c2773 5: e9 bf fd ff ff jmpq 0xfffffdc9 a: e8 64 27 5c 00 callq 0x5c2773 f: e9 8c fd ff ff jmpq 0xfffffda0 14: e8 5a 27 5c 00 callq 0x5c2773 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 58 d5 0f 03 jmpq 0x30fd583 <-- 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