watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [swapper/0:0] Modules linked in: irq event stamp: 16104 hardirqs last enabled at (16103): [] tick_nohz_idle_exit+0x161/0x4a0 kernel/time/tick-sched.c:1350 hardirqs last disabled at (16104): [] __schedule+0x1974/0x4cc0 kernel/sched/core.c:6317 softirqs last enabled at (16020): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last enabled at (16020): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 softirqs last disabled at (15577): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last disabled at (15577): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.18.0-rc3-next-20220422-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1058 Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 63 0f b6 07 40 38 c6 74 35 48 83 c4 10 c3 c3 e8 23 91 4b 00 eb 07 0f 00 2d da b1 94 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 56 8f 4b 00 8b 74 24 0c RSP: 0018:ffffc90000007a20 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199 RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd RBP: ffffffff8cbfc980 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81807158 R11: 0000000000000080 R12: 0000000000000000 R13: fffffbfff197f930 R14: 0000000000000001 R15: ffff8880b9c3ae40 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d92e000 CR3: 000000000ba8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8c7/0xb50 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2a0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x6f4/0x13b0 drivers/net/wireless/mac80211_hwsim.c:1593 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1884 mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1938 __iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1961 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:117 [inline] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:559 Code: 89 de e8 5d 0c 09 f8 84 db 75 ac e8 74 08 09 f8 e8 6f 5a 0f f8 eb 0c e8 68 08 09 f8 0f 00 2d a1 0d c2 00 e8 5c 08 09 f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 d7 0a 09 f8 48 85 db RSP: 0018:ffffffff8ba07d38 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffffffff8babc880 RSI: ffffffff897116c4 RDI: ffffffff897116b1 RBP: ffff8881453d3864 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81807158 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8881453d3800 R14: ffff8881453d3864 R15: ffff8881476fd804 acpi_idle_enter+0x369/0x510 drivers/acpi/processor_idle.c:696 cpuidle_enter_state+0x1b1/0xc80 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3e8/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400 rest_init+0x169/0x270 init/main.c:728 arch_call_rest_init+0xf/0x14 init/main.c:885 start_kernel+0x47f/0x4a0 init/main.c:1143 secondary_startup_64_no_verify+0xce/0xdb Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5818 Comm: kworker/1:2 Not tainted 5.18.0-rc3-next-20220422-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1058 Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 63 0f b6 07 40 38 c6 74 35 48 83 c4 10 c3 c3 e8 23 91 4b 00 eb 07 0f 00 2d da b1 94 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 56 8f 4b 00 8b 74 24 0c RSP: 0018:ffffc90000de0488 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199 RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd RBP: ffff88807e2661c8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81807158 R11: 0000000000000001 R12: 0000000000000000 R13: ffffed100fc4cc39 R14: 0000000000000001 R15: ffff8880b9d3ae40 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc23596a998 CR3: 000000000ba8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8c7/0xb50 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2a0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:354 [inline] task_lock include/linux/sched/task.h:170 [inline] __get_task_comm+0x23/0x50 fs/exec.c:1219 __set_page_owner_handle mm/page_owner.c:174 [inline] __set_page_owner+0x253/0x380 mm/page_owner.c:192 prep_new_page mm/page_alloc.c:2394 [inline] get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356 alloc_pages+0x1aa/0x310 mm/mempolicy.c:2273 alloc_slab_page mm/slub.c:1797 [inline] allocate_slab+0x26c/0x3c0 mm/slub.c:1942 new_slab mm/slub.c:2002 [inline] ___slab_alloc+0x985/0xd90 mm/slub.c:3002 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3089 slab_alloc_node mm/slub.c:3180 [inline] kmem_cache_alloc_node+0x122/0x3f0 mm/slub.c:3264 __alloc_skb+0x215/0x340 net/core/skbuff.c:414 skb_copy+0x139/0x3c0 net/core/skbuff.c:1585 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb7c/0x13b0 drivers/net/wireless/mac80211_hwsim.c:1642 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1884 mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1938 __iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1961 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x5f/0x180 mm/kasan/generic.c:189 Code: 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d 5a 01 48 89 da 48 29 ea <48> 83 fa 10 7e 63 41 89 eb 41 83 e3 07 75 74 4c 8d 5a 07 48 85 d2 RSP: 0018:ffffc90005ae7660 EFLAGS: 00000202 RAX: ffffed100fc4cc16 RBX: ffffed100fc4cc17 RCX: ffffffff841f6e0e RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88807e2660b0 RBP: ffffed100fc4cc16 R08: 0000000000000000 R09: ffff88807e2660b0 R10: ffffed100fc4cc16 R11: 0000000000000001 R12: 0000000000000010 R13: 0000000000000000 R14: fefefefefefefeff R15: ffff88801387ec68 read_word_at_a_time+0xe/0x20 include/asm-generic/rwonce.h:85 strscpy+0xa1/0x2a0 lib/string.c:203 strscpy include/linux/fortify-string.h:170 [inline] strscpy_pad+0x20/0x70 lib/string_helpers.c:788 __get_task_comm+0x35/0x50 fs/exec.c:1221 __set_page_owner_handle mm/page_owner.c:174 [inline] __set_page_owner+0x253/0x380 mm/page_owner.c:192 prep_new_page mm/page_alloc.c:2394 [inline] get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356 alloc_pages+0x1aa/0x310 mm/mempolicy.c:2273 alloc_slab_page mm/slub.c:1797 [inline] allocate_slab+0x26c/0x3c0 mm/slub.c:1942 new_slab mm/slub.c:2002 [inline] ___slab_alloc+0x985/0xd90 mm/slub.c:3002 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3089 slab_alloc_node mm/slub.c:3180 [inline] __kmalloc_node_track_caller+0x2cb/0x360 mm/slub.c:4952 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:426 alloc_skb include/linux/skbuff.h:1337 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:742 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:799 [inline] nsim_dev_trap_report_work+0x291/0xba0 drivers/net/netdevsim/dev.c:840 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: fa cli 1: 83 e2 07 and $0x7,%edx 4: 38 d0 cmp %dl,%al 6: 7f 04 jg 0xc 8: 84 c0 test %al,%al a: 75 63 jne 0x6f c: 0f b6 07 movzbl (%rdi),%eax f: 40 38 c6 cmp %al,%sil 12: 74 35 je 0x49 14: 48 83 c4 10 add $0x10,%rsp 18: c3 retq 19: c3 retq 1a: e8 23 91 4b 00 callq 0x4b9142 1f: eb 07 jmp 0x28 21: 0f 00 2d da b1 94 08 verw 0x894b1da(%rip) # 0x894b202 28: fb sti 29: f4 hlt * 2a: 48 83 c4 10 add $0x10,%rsp <-- trapping instruction 2e: c3 retq 2f: 89 74 24 0c mov %esi,0xc(%rsp) 33: 48 89 3c 24 mov %rdi,(%rsp) 37: e8 56 8f 4b 00 callq 0x4b8f92 3c: 8b 74 24 0c mov 0xc(%rsp),%esi