watchdog: BUG: soft lockup - CPU#1 stuck for 121s! [syz.1.409:7208] Modules linked in: irq event stamp: 11463117 hardirqs last enabled at (11463116): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (11463116): [] _raw_spin_unlock_irqrestore+0x85/0x110 kernel/locking/spinlock.c:194 hardirqs last disabled at (11463117): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (11443994): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last enabled at (11443994): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last enabled at (11443994): [] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 softirqs last disabled at (11443997): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last disabled at (11443997): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last disabled at (11443997): [] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 CPU: 1 UID: 0 PID: 7208 Comm: syz.1.409 Not tainted 6.15.0-rc4-syzkaller-g32c563d1092f #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 RIP: 0010:preempt_count_sub+0x105/0x170 kernel/sched/core.c:5884 Code: c7 c7 80 26 6a 8b 48 c7 c6 60 27 6a 8b e8 73 5d f3 ff 90 0f 0b 90 90 90 e9 6d ff ff ff 48 c7 c1 a0 66 80 99 80 e1 07 80 c1 03 <38> c1 0f 8c 1a ff ff ff 89 fd 48 c7 c7 a0 66 80 99 e8 35 f8 90 00 RSP: 0018:ffffc90000a08378 EFLAGS: 00000206 RAX: 0000000000000004 RBX: dffffc0000000000 RCX: ffffffff99806603 RDX: 0000000000000100 RSI: ffffffff8bc1cdc0 RDI: 0000000000000001 RBP: ffffc90000a084b8 R08: ffffc90000a0844f R09: 0000000000000000 R10: ffffc90000a08440 R11: fffff5200014108a R12: dffffc0000000000 R13: 1ffff110063dcbc8 R14: ffff8880b893a920 R15: ffffffff8d96dc18 FS: 00007f78b51d46c0(0000) GS:ffff8881261cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055559183e5c8 CR3: 0000000031a4e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: class_preempt_destructor include/linux/preempt.h:481 [inline] migrate_disable+0xd5/0x190 kernel/sched/core.c:2388 bpf_prog_run_array include/linux/bpf.h:2210 [inline] trace_call_bpf+0x229/0x850 kernel/trace/bpf_trace.c:146 perf_trace_run_bpf_submit+0x78/0x170 kernel/events/core.c:10788 do_perf_trace_lock include/trace/events/lock.h:50 [inline] perf_trace_lock+0x2f8/0x3b0 include/trace/events/lock.h:50 __do_trace_lock_release include/trace/events/lock.h:69 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x3b2/0x3e0 kernel/locking/lockdep.c:5877 rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:871 [inline] class_rcu_destructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0x19a9/0x2390 arch/x86/kernel/unwind_orc.c:680 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x62/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2398 [inline] slab_free mm/slub.c:4656 [inline] kmem_cache_free+0x192/0x3f0 mm/slub.c:4758 mac80211_hwsim_beacon_tx+0x3f6/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2317 __iterate_interfaces+0x2a8/0x590 net/mac80211/util.c:761 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:797 mac80211_hwsim_beacon+0xbb/0x1c0 drivers/net/wireless/virtual/mac80211_hwsim.c:2347 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x529/0xc60 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1842 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194 Code: 74 05 e8 8b e1 6e f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 73 63 38 f6 65 8b 05 5c e5 1c 07 85 c0 74 40 48 c7 04 24 0e 36 RSP: 0018:ffffc90002e970c0 EFLAGS: 00000206 RAX: f67f43be067c8200 RBX: 0000000000000a02 RCX: f67f43be067c8200 RDX: 0000000000000000 RSI: ffffffff8d74a0fc RDI: 0000000000000001 RBP: ffffc90002e97150 R08: ffffffff8f7ed377 R09: 1ffffffff1efda6e R10: dffffc0000000000 R11: fffffbfff1efda6f R12: dffffc0000000000 R13: 1ffff920005d2e38 R14: ffffffff99ad3990 R15: 1ffff920005d2e18 debug_rcu_head_queue kernel/rcu/rcu.h:225 [inline] __call_rcu_common kernel/rcu/tree.c:3067 [inline] call_rcu+0xae/0x990 kernel/rcu/tree.c:3202 context_switch kernel/sched/core.c:5385 [inline] __schedule+0x16ea/0x4cd0 kernel/sched/core.c:6767 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7090 irqentry_exit+0x6f/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:104 [inline] RIP: 0010:__local_bh_enable_ip+0x135/0x1c0 kernel/softirq.c:414 Code: 8b e8 ef 3b d0 09 65 66 8b 05 2f 89 ef 10 66 85 c0 75 5a bf 01 00 00 00 e8 28 07 0b 00 e8 13 85 41 00 fb 65 8b 05 0b 89 ef 10 <85> c0 75 05 e8 72 cd ad ff 48 c7 04 24 0e 36 e0 45 4b c7 04 37 00 RSP: 0018:ffffc90002e97600 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000201 RCX: f67f43be067c8200 RDX: 0000000000000000 RSI: ffffffff8d74a0fc RDI: ffffffff8bc1cde0 RBP: ffffc90002e97690 R08: ffffffff8f7ed377 R09: 1ffffffff1efda6e R10: dffffc0000000000 R11: fffffbfff1efda6f R12: ffffffff8953549a R13: ffff88807c2ac680 R14: dffffc0000000000 R15: 1ffff920005d2ec0 spin_unlock_bh include/linux/spinlock.h:396 [inline] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] page_pool_empty_ring net/core/page_pool.c:1038 [inline] page_pool_scrub net/core/page_pool.c:1089 [inline] page_pool_release+0x38a/0x8d0 net/core/page_pool.c:1096 page_pool_destroy+0x1d5/0x3f0 net/core/page_pool.c:1173 xdp_test_run_teardown net/bpf/test_run.c:218 [inline] bpf_test_run_xdp_live+0x19da/0x1aa0 net/bpf/test_run.c:396 bpf_prog_test_run_xdp+0x713/0xf90 net/bpf/test_run.c:1322 bpf_prog_test_run+0x2a9/0x340 kernel/bpf/syscall.c:4428 __sys_bpf+0x4a4/0x860 kernel/bpf/syscall.c:5853 __do_sys_bpf kernel/bpf/syscall.c:5942 [inline] __se_sys_bpf kernel/bpf/syscall.c:5940 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5940 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f78b438e969 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f78b51d4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f78b45b5fa0 RCX: 00007f78b438e969 RDX: 0000000000000048 RSI: 0000200000000600 RDI: 000000000000000a RBP: 00007f78b4410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f78b45b5fa0 R15: 00007fff38de1dc8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5981 Comm: kworker/u8:8 Not tainted 6.15.0-rc4-syzkaller-g32c563d1092f #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0xe69/0x11c0 kernel/smp.c:885 Code: 00 45 8b 2f 44 89 ee 83 e6 01 31 ff e8 20 6d 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 cb 68 0b 00 eb 37 f3 90 <43> 0f b6 04 2c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 b0 68 0b RSP: 0018:ffffc900050af700 EFLAGS: 00000293 RAX: ffffffff81b45620 RBX: ffff8880b883ad40 RCX: ffff888028f48000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900050af860 R08: ffffffff8f7ed377 R09: 1ffffffff1efda6e R10: dffffc0000000000 R11: fffffbfff1efda6f R12: 1ffff11017127e99 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b893f4c8 FS: 0000000000000000(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000087e000 CR3: 000000000dd36000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: 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:2455 [inline] text_poke_bp_batch+0x319/0x940 arch/x86/kernel/alternative.c:2665 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245