watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [migration/0:15] Modules linked in: irq event stamp: 9045691 hardirqs last enabled at (9045690): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 hardirqs last disabled at (9045691): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1100 softirqs last enabled at (8436602): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last enabled at (8436602): [] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 softirqs last disabled at (8436605): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last disabled at (8436605): [] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 CPU: 0 PID: 15 Comm: migration/0 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Stopper: 0x0 <- 0x0 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3c4/0xb40 kernel/locking/qspinlock.c:508 Code: 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 72 04 00 00 <41> 0f b6 45 00 38 d8 7f 08 84 c0 0f 85 91 05 00 00 0f b6 45 00 84 RSP: 0000:ffffc90000007a30 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffffffff18efadc RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffffffff8c77d6e2 RBP: ffffffff8c77d6e0 R08: 0000000000000001 R09: ffffffff8c77d6e3 R10: fffffbfff18efadc R11: 0000000000000080 R12: 0000000000005dbb R13: fffffbfff18efadc R14: 0000000000000001 R15: ffff8880b9c527c0 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556f4eed5008 CR3: 000000005dc83000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1516 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:finish_task_switch.isra.0+0x23c/0xa50 kernel/sched/core.c:4555 Code: 8b 3a 4c 89 e7 48 c7 02 00 00 00 00 ff d1 4d 85 ff 75 bf 4c 89 e7 e8 b3 95 e0 07 e8 2e e6 2b 00 fb 65 48 8b 1c 25 00 f0 01 00 <48> 8d bb 10 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0000:ffffc90000d47d78 EFLAGS: 00000202 RAX: 0000000000002a5b RBX: ffff888010e6b880 RCX: 1ffffffff1ad8c89 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000d47db8 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bd258 R11: 0000000000000001 R12: ffff8880b9c519c0 R13: ffff88801ac68000 R14: 0000000000000000 R15: ffff8880b9c519d8 context_switch kernel/sched/core.c:4684 [inline] __schedule+0x942/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 smpboot_thread_fn+0x2eb/0x9c0 kernel/smpboot.c:160 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 29452 Comm: syz-executor.1 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197 Code: 01 f0 4d 89 03 e9 63 fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 <65> 8b 05 09 46 8c 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90000dc07e8 EFLAGS: 00000086 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff8880277d0000 RSI: ffffffff81688dbc RDI: 0000000000000003 RBP: ffff8880b9d1f2c0 R08: 0000000000000000 R09: ffff8880b9d423c3 R10: ffffffff81688d71 R11: 0000000000000000 R12: 000002673af957e2 R13: 0000000000000000 R14: ffff8880b9d423c0 R15: 7fffffffffffffff FS: 00007fa1e3ffc700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000543038 CR3: 000000009bdc7000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ktime_get+0x13/0x470 kernel/time/timekeeping.c:824 clockevents_program_event+0x141/0x370 kernel/time/clockevents.c:326 tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x414/0xa00 kernel/time/hrtimer.c:1676 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:301 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5c4/0xb40 kernel/locking/qspinlock.c:473 Code: 32 84 c0 75 23 41 0f b6 14 24 4c 89 e9 83 e1 07 38 ca 7f 08 84 d2 0f 85 ed 03 00 00 0f b6 53 14 84 d2 0f 85 9e 00 00 00 f3 90 <83> e8 01 0f 84 93 00 00 00 0f b6 16 84 d2 74 09 80 fa 03 0f 8e 96 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000202 RAX: 0000000000003034 RBX: ffff8880b9c527c0 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed10173aa4f9 RDI: ffff8880b9d527d4 RBP: ffff8880b9d527d4 R08: 0000000000000001 R09: ffff8880b9d527d4 R10: ffffed10173aa4fa R11: 0000000000000080 R12: ffffed101738a4fa R13: ffff8880b9c527d4 R14: dffffc0000000000 R15: ffff8880b9d527c0 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1516 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:6326 Code: 55 53 65 48 8b 1c 25 00 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 92 26 20 f8 e8 dd 70 4c f8 fb bf 01 00 00 00 d2 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 a0 15 20 RSP: 0018:ffffc9000169f438 EFLAGS: 00000202 RAX: 000000000001a3fb RBX: ffff8880277d0000 RCX: 1ffffffff1fa7052 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed1004efa000 R08: 0000000000000001 R09: ffffffff8fcf299f R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:427 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 Code: 1d 6d a3 bb 7e 65 8b 05 66 a3 bb 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 95 2a 09 00 e8 b0 85 35 00 fb 65 8b 05 48 a3 bb 7e <85> c0 74 58 5b 5d c3 65 8b 05 96 aa bb 7e 85 c0 75 a2 0f 0b eb 9e RSP: 0018:ffffc9000169f500 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 00000000fffffe01 RCX: 1ffffffff1fa7052 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8798a253 R08: 0000000000000001 R09: ffffffff8fcf299f R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 00000000aa1414ac local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:757 [inline] ip_finish_output2+0x861/0x2140 net/ipv4/ip_output.c:222 ip_do_fragment+0x110a/0x1450 net/ipv4/ip_output.c:850 ip_fragment.constprop.0+0x174/0x240 net/ipv4/ip_output.c:574 __ip_finish_output net/ipv4/ip_output.c:297 [inline] __ip_finish_output+0x2de/0x640 net/ipv4/ip_output.c:281 ip_finish_output+0x32/0x200 net/ipv4/ip_output.c:309 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x196/0x310 net/ipv4/ip_output.c:423 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb+0xd4/0x260 net/ipv4/ip_output.c:1564 udp_send_skb+0x6cd/0x11a0 net/ipv4/udp.c:966 udp_push_pending_frames net/ipv4/udp.c:994 [inline] udp_sendmsg+0x12dd/0x2740 net/ipv4/udp.c:1285 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:821 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 sock_write_iter+0x289/0x3c0 net/socket.c:1057 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x75a/0xa40 fs/read_write.c:605 ksys_write+0x1ee/0x250 fs/read_write.c:658 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 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:00007fa1e3ffc188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000001c78 RSI: 0000000020000280 RDI: 000000000000000f RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd726f01df R14: 00007fa1e3ffc300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 48 c1 add %cl,-0x3f(%rax) 3: e9 03 83 e3 07 jmpq 0x7e3830b 8: 41 be 01 00 00 00 mov $0x1,%r14d e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 4c 8d 2c 01 lea (%rcx,%rax,1),%r13 1c: eb 0c jmp 0x2a 1e: f3 90 pause 20: 41 83 ec 01 sub $0x1,%r12d 24: 0f 84 72 04 00 00 je 0x49c * 2a: 41 0f b6 45 00 movzbl 0x0(%r13),%eax <-- trapping instruction 2f: 38 d8 cmp %bl,%al 31: 7f 08 jg 0x3b 33: 84 c0 test %al,%al 35: 0f 85 91 05 00 00 jne 0x5cc 3b: 0f b6 45 00 movzbl 0x0(%rbp),%eax 3f: 84 .byte 0x84