watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.0.40:6057] Modules linked in: irq event stamp: 9481713 hardirqs last enabled at (9481712): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (9481713): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (9462436): [] __do_softirq kernel/softirq.c:595 [inline] softirqs last enabled at (9462436): [] invoke_softirq kernel/softirq.c:435 [inline] softirqs last enabled at (9462436): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 softirqs last disabled at (9462439): [] __do_softirq kernel/softirq.c:595 [inline] softirqs last disabled at (9462439): [] invoke_softirq kernel/softirq.c:435 [inline] softirqs last disabled at (9462439): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 CPU: 1 UID: 0 PID: 6057 Comm: syz.0.40 Not tainted 6.14.0-rc1-syzkaller-g03f3aa4a6b66 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:mac80211_hwsim_tx_frame_no_nl+0xd44/0x18d0 drivers/net/wireless/virtual/mac80211_hwsim.c:1832 Code: 89 df e8 4f f0 ed fa 4c 8b 33 49 8d 9d 18 3f 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 2f f0 ed fa 48 8b 1b <4c> 89 f6 48 21 de 31 ff e8 bf 5b 87 fa 49 21 de 0f 84 ca 00 00 00 RSP: 0018:ffffc90000a18920 EFLAGS: 00000246 RAX: 1ffff11004e25df7 RBX: 0000000000000001 RCX: ffff88802b8f3c00 RDX: 0000000000000100 RSI: ffffffff8f536360 RDI: 0000000000000000 RBP: ffffc90000a18ae8 R08: 0000000000000005 R09: ffffffff8738024f R10: 0000000000000002 R11: ffff88802b8f3c00 R12: 1ffff9200014314f R13: ffff88802712b0a0 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005644b9778018 CR3: 000000005530c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/virtual/mac80211_hwsim.c:2215 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:760 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:796 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1738 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1802 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1819 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:preempt_schedule_irq+0xf6/0x1c0 kernel/sched/core.c:7086 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 05 b0 96 f5 e8 20 44 d0 f5 fb bf 01 00 00 00 25 ab ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 a5 19 2f f6 48 RSP: 0018:ffffc90004a3f220 EFLAGS: 00000282 RAX: a3ba44b01d67c500 RBX: 1ffff92000947e4c RCX: ffffffff9a400903 RDX: dffffc0000000000 RSI: ffffffff8c0aa680 RDI: 0000000000000001 RBP: ffffc90004a3f2e0 R08: ffffffff901b5177 R09: 1ffffffff2036a2e R10: dffffc0000000000 R11: fffffbfff2036a2f R12: 1ffff92000947e44 R13: 1ffff92000947e48 R14: ffffc90004a3f240 R15: dffffc0000000000 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_test_bit include/linux/thread_info.h:192 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:208 [inline] RIP: 0010:need_resched include/linux/sched.h:2149 [inline] RIP: 0010:preempt_schedule_common+0x11/0xd0 kernel/sched/core.c:6951 Code: ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 53 49 bf 00 00 00 00 00 fc ff df eb 0d <48> f7 03 08 00 00 00 0f 84 9c 00 00 00 65 ff 05 73 fd 0c 74 65 8b RSP: 0018:ffffc90004a3f3a0 EFLAGS: 00000246 RAX: 1ffff1100571e780 RBX: ffff88802b8f3c00 RCX: 1ffff92000947e50 RDX: dffffc0000000000 RSI: ffffffff8c0aa680 RDI: ffffffff8c608a80 RBP: ffffc90004a3f458 R08: ffffffff901b5177 R09: 1ffffffff2036a2e R10: dffffc0000000000 R11: fffffbfff2036a2f R12: 1ffff92000947e7c R13: 1ffff92000947e98 R14: ffffffff8bf6d891 R15: dffffc0000000000 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6967 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194 rcu_preempt_deferred_qs_irqrestore+0x8c4/0xca0 rcu_read_unlock_special+0x497/0x570 kernel/rcu/tree_plugin.h:693 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:438 __reset_page_owner+0x2de/0x430 mm/page_owner.c:300 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660 vfree+0x1c3/0x360 mm/vmalloc.c:3383 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x3e9/0x9f0 fs/file_table.c:448 task_work_run+0x24f/0x310 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2a/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3036 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbfe538cde9 Code: Unable to access opcode bytes at 0x7fbfe538cdbf. RSP: 002b:00007fbfe6214038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 000000000000000d RBX: 00007fbfe55a5fa0 RCX: 00007fbfe538cde9 RDX: 0000000000000004 RSI: 0000000000000002 RDI: 0000000000000010 RBP: 00007fbfe540e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbfe55a5fa0 R15: 00007ffcdb802698 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 1159 Comm: kworker/u8:7 Not tainted 6.14.0-rc1-syzkaller-g03f3aa4a6b66 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:kvm_wait+0x250/0x2c0 arch/x86/kernel/kvm.c:1064 Code: 3b 45 0f b6 f6 44 89 ff 44 89 f6 e8 ba 57 54 00 e8 c5 1b 5c 00 45 38 f7 75 15 66 90 e8 29 57 54 00 0f 00 2d e2 08 9d 0a fb f4 50 fe ff ff e8 16 57 54 00 fb e9 45 fe ff ff 89 d9 80 e1 07 38 RSP: 0018:ffffc90000007600 EFLAGS: 00000246 RAX: ffffffff816b0437 RBX: ffffffff8f5356c0 RCX: ffff888027071e00 RDX: 0000000000000100 RSI: ffffffff8c0aa680 RDI: ffffffff8c608a80 RBP: ffffc900000076d0 R08: ffffffff942f98bf R09: 1ffffffff285f317 R10: dffffc0000000000 R11: fffffbfff285f318 R12: 1ffff92000000ec4 R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6311a02175 CR3: 000000000e738000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:589 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:466 [inline] __pv_queued_spin_lock_slowpath+0x8d0/0xdb0 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:577 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] mac80211_hwsim_tx_frame_no_nl+0x982/0x18d0 drivers/net/wireless/virtual/mac80211_hwsim.c:1817 mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/virtual/mac80211_hwsim.c:2215 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:760 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:796 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1738 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1802 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1819 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1ba4/0x2d30 kernel/smp.c:885 Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 b0 e8 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 60 e4 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc9000457f640 EFLAGS: 00000293 RAX: ffffffff81b37725 RBX: 1ffff110170e88f1 RCX: ffff888027071e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000457f840 R08: ffffffff81b376f0 R09: 1ffffffff285f308 R10: dffffc0000000000 R11: fffffbfff285f309 R12: ffff8880b863fb08 R13: ffff8880b8744788 R14: ffff8880b863fb00 R15: 0000000000000001 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2118 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2328 text_poke_flush arch/x86/kernel/alternative.c:2519 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2526 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244