watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz-executor.0:18151] Modules linked in: irq event stamp: 12436297 hardirqs last enabled at (12436296): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 hardirqs last disabled at (12436297): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1097 softirqs last enabled at (6675328): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last enabled at (6675328): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 softirqs last disabled at (6675331): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last disabled at (6675331): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 CPU: 0 PID: 18151 Comm: syz-executor.0 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x749/0x1330 drivers/net/wireless/mac80211_hwsim.c:1524 Code: bd 3f 3f fc 48 89 d8 48 c1 e8 03 80 3c 28 00 0f 85 93 09 00 00 48 8b 1b 48 81 fb 80 3c 79 8c 0f 84 f7 04 00 00 e8 97 3f 3f fc <49> 39 de 4c 89 ac 24 90 00 00 00 c6 84 24 98 00 00 00 00 74 bb e8 RSP: 0018:ffffc90000007ba0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888015be32a0 RCX: 0000000000000100 RDX: ffff8880248eb900 RSI: ffffffff8536e1a9 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 0000000000000004 R09: 0000000000000000 R10: ffffffff8536e1f9 R11: 0000000000000000 R12: ffff888142df43c0 R13: ffff88802d64b4d0 R14: ffff88802d64b2a0 R15: 0000000000000000 FS: 00007f57ce590700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2be21000 CR3: 00000000816e1000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: 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: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:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:50 [inline] RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:342 [inline] RIP: 0010:deref_stack_reg+0x90/0x150 arch/x86/kernel/unwind_orc.c:352 Code: 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 94 00 00 00 49 39 ed 49 8b 44 24 10 77 13 48 39 e8 76 0e <48> 8d 55 08 48 39 d0 72 05 49 39 d5 72 3b 49 8d 7c 24 28 48 b8 00 RSP: 0018:ffffc900022ef420 EFLAGS: 00000216 RAX: ffffc900022f0000 RBX: ffffc900022ef570 RCX: ffffffff8e622669 RDX: 1ffff9200045dea7 RSI: ffffc900022efa28 RDI: ffffc900022ef538 RBP: ffffc900022efa28 R08: ffffffff8e622664 R09: 0000000000000001 R10: fffff5200045deb0 R11: 0000000000086089 R12: ffffc900022ef528 R13: ffffc900022e8000 R14: ffffc900022ef528 R15: ffffffff8e622668 unwind_next_frame+0xcc3/0x1ce0 arch/x86/kernel/unwind_orc.c:534 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 save_stack+0x151/0x1e0 mm/page_owner.c:119 __reset_page_owner+0x5d/0x170 mm/page_owner.c:140 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1346 [inline] free_pcp_prepare+0x2c5/0x780 mm/page_alloc.c:1397 free_unref_page_prepare mm/page_alloc.c:3332 [inline] free_unref_page+0x19/0x690 mm/page_alloc.c:3411 __vunmap+0x783/0xb70 mm/vmalloc.c:2609 __vfree+0x3c/0xd0 mm/vmalloc.c:2657 vfree+0x5a/0x90 mm/vmalloc.c:2688 netlink_skb_destructor+0xc2/0x210 net/netlink/af_netlink.c:375 skb_release_head_state+0x9f/0x280 net/core/skbuff.c:728 skb_release_all net/core/skbuff.c:739 [inline] __kfree_skb net/core/skbuff.c:755 [inline] consume_skb net/core/skbuff.c:911 [inline] consume_skb+0x89/0x160 net/core/skbuff.c:905 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline] netlink_unicast+0x53b/0x7d0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 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:0x4665f9 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:00007f57ce590188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdde9410ff R14: 00007f57ce590300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18156 Comm: syz-executor.5 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:asm_sysvec_apic_timer_interrupt+0x0/0x20 arch/x86/include/asm/idtentry.h:637 Code: 00 66 0f 1f 84 00 00 00 00 00 0f 1f 00 6a ff e8 76 03 00 00 48 89 e7 e8 4e 18 f5 ff e9 29 04 00 00 66 0f 1f 84 00 00 00 00 00 <0f> 1f 00 6a ff e8 56 03 00 00 48 89 e7 e8 9e 16 f5 ff e9 09 04 00 RSP: 0018:ffffc90000dc0a08 EFLAGS: 00000006 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff18f2798 RDX: 0000000000000001 RSI: ffffffff817c4a01 RDI: ffffffff81334591 RBP: ffffffff8c793cc0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817c49c9 R11: 0000000000000080 R12: 00000000000050e7 R13: fffffbfff18f2798 R14: 0000000000000001 R15: ffff8880b9d327c0 FS: 00007f94a27bd700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30121000 CR3: 0000000147fab000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:437 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3b8/0xb40 kernel/locking/qspinlock.c:508 Code: 48 89 eb c6 45 01 01 41 bc 00 80 00 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 90 41 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000206 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:115 spin_lock include/linux/spinlock.h:363 [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: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:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 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:6687 Code: 55 53 65 48 8b 1c 25 40 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 92 fb 18 f8 e8 8d 8e 45 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 90 ea 18 RSP: 0018:ffffc900023cfcb8 EFLAGS: 00000206 RAX: 0000000000004893 RBX: ffff88801fceb900 RCX: 1ffffffff1add121 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed1003f9d720 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817c49e8 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:instrument_atomic_read_write include/linux/instrumented.h:101 [inline] RIP: 0010:atomic_long_dec_and_test include/linux/atomic/atomic-instrumented.h:1698 [inline] RIP: 0010:put_event kernel/events/core.c:5049 [inline] RIP: 0010:perf_event_release_kernel+0x6b8/0x940 kernel/events/core.c:5167 Code: 41 89 c4 89 c6 e8 18 d6 de ff 45 84 e4 0f 85 b7 fe ff ff 4d 8d b7 d8 02 00 00 4d 8d a7 e0 02 00 00 e9 14 ff ff ff 4c 8b 24 24 b3 cf de ff 48 8b 7c 24 28 be 08 00 00 00 e8 e4 17 26 00 f0 49 RSP: 0018:ffffc900023cfd80 EFLAGS: 00000246 RAX: ffffc900023cfdd8 RBX: ffffc900023cfdd8 RCX: ffff88801fceb900 RDX: 1ffff92000479fbb RSI: 0000000000000008 RDI: ffffc900023cfcc8 RBP: ffffc900023cfb00 R08: 0000000000000001 R09: ffffc900023cfccf R10: fffff52000479f99 R11: 0000000000000000 R12: ffff8880a131a310 R13: ffff8880a131a558 R14: ffffc900023cfdd8 R15: ffffc900023cfb00 perf_release+0x33/0x40 kernel/events/core.c:5177 __fput+0x288/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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:00007f94a27bd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffedbe9cf0f R14: 00007f94a27bd300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: bd 3f 3f fc 48 mov $0x48fc3f3f,%ebp 5: 89 d8 mov %ebx,%eax 7: 48 c1 e8 03 shr $0x3,%rax b: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) f: 0f 85 93 09 00 00 jne 0x9a8 15: 48 8b 1b mov (%rbx),%rbx 18: 48 81 fb 80 3c 79 8c cmp $0xffffffff8c793c80,%rbx 1f: 0f 84 f7 04 00 00 je 0x51c 25: e8 97 3f 3f fc callq 0xfc3f3fc1 * 2a: 49 39 de cmp %rbx,%r14 <-- trapping instruction 2d: 4c 89 ac 24 90 00 00 mov %r13,0x90(%rsp) 34: 00 35: c6 84 24 98 00 00 00 movb $0x0,0x98(%rsp) 3c: 00 3d: 74 bb je 0xfffffffa 3f: e8 .byte 0xe8