watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz.4.63:6169] Modules linked in: irq event stamp: 13406987 hardirqs last enabled at (13406986): [] irqentry_exit+0x74/0x90 kernel/entry/common.c:214 hardirqs last disabled at (13406987): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1052 softirqs last enabled at (10227174): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (10227174): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (10227174): [] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723 softirqs last disabled at (10227177): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (10227177): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (10227177): [] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723 CPU: 0 UID: 0 PID: 6169 Comm: syz.4.63 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:get_recursion_context kernel/events/internal.h:217 [inline] RIP: 0010:perf_swevent_get_recursion_context+0x90/0x100 kernel/events/core.c:10617 Code: ff 48 89 de e8 c1 35 cf ff 44 00 e5 40 0f b6 dd 49 01 de 49 81 c6 6c 14 00 00 4d 89 f4 49 c1 ec 03 43 0f b6 04 3c 84 c0 75 3f <41> 0f b6 2e 31 ff 89 ee e8 b3 33 cf ff 85 ed 74 0c e8 aa 30 cf ff RSP: 0018:ffffc90000007510 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888025945ac0 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffffc90000007601 R08: ffffc90000007827 R09: 0000000000000000 R10: ffffc90000007818 R11: fffff52000000f05 R12: 1ffff11004b28de5 R13: dffffc0000000000 R14: ffff888025946f2d R15: dffffc0000000000 FS: 00007fa9c762a6c0(0000) GS:ffff88812613e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c326a25 CR3: 000000007876e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_trace_buf_alloc+0x59/0x2a0 kernel/trace/trace_event_perf.c:410 do_perf_trace_lock include/trace/events/lock.h:50 [inline] perf_trace_lock+0x18d/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:5879 rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:897 [inline] class_rcu_destructor include/linux/rcupdate.h:1195 [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:56 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:77 __kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:587 kasan_save_free_info mm/kasan/kasan.h:406 [inline] poison_slab_object mm/kasan/common.c:252 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:284 kasan_slab_free include/linux/kasan.h:234 [inline] slab_free_hook mm/slub.c:2530 [inline] slab_free mm/slub.c:6619 [inline] kmem_cache_free+0x19b/0x690 mm/slub.c:6729 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x286/0x870 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:kvm_kick_cpu+0x77/0xb0 arch/x86/kernel/kvm.c:1058 Code: 9f 0a b3 00 48 c7 c3 b0 21 6e 92 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 2c 8b 0b b8 05 00 00 00 31 db 0f 01 c1 <5b> 41 5e 41 5f c3 cc cc cc cc cc e8 79 44 4d 00 89 de 48 c7 c7 20 RSP: 0018:ffffc9000b967ae0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: ffffc9000ce9b000 RSI: 0000000000000df3 RDI: 0000000000000df4 RBP: 0000000000000000 R08: ffff88807d24e74b R09: 1ffff1100fa49ce9 R10: dffffc0000000000 R11: ffffed100fa49cea R12: 1ffff11047ffc218 R13: dffffc0000000000 R14: ffffffff8d92bdd8 R15: dffffc0000000000 pv_kick kernel/locking/qspinlock_paravirt.h:539 [inline] __pv_queued_spin_unlock_slowpath+0x198/0x2a0 kernel/locking/qspinlock_paravirt.h:539 __raw_callee_save___pv_queued_spin_unlock_slowpath+0x15/0x30 .slowpath+0x9/0x18 pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:562 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline] do_raw_spin_unlock+0x122/0x240 kernel/locking/spinlock_debug.c:142 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_unlock+0x1e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] futex_wake+0x493/0x560 kernel/futex/waitwake.c:197 do_futex+0x395/0x420 kernel/futex/syscalls.c:135 __do_sys_futex kernel/futex/syscalls.c:207 [inline] __se_sys_futex+0x36f/0x400 kernel/futex/syscalls.c:188 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa9c678efc9 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:00007fa9c762a0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fa9c69e5fa8 RCX: 00007fa9c678efc9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fa9c69e5fac RBP: 00007fa9c69e5fa0 R08: 3fffffffffffffff R09: 0000000000000000 R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa9c69e6038 R14: 00007ffca9784f20 R15: 00007ffca9785008 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 3540 Comm: kworker/u8:8 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:342 [inline] RIP: 0010:smp_call_function_many_cond+0xd38/0x12d0 kernel/smp.c:877 Code: 89 ee 83 e6 01 31 ff e8 96 73 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 41 6f 0b 00 eb 38 f3 90 42 0f b6 04 2b <84> c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 25 6f 0b 00 eb e4 44 RSP: 0018:ffffc9000c637640 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff11017108441 RCX: ffff888030621e40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000c6377c0 R08: ffffffff8f7cd277 R09: 1ffffffff1ef9a4e R10: dffffc0000000000 R11: fffffbfff1ef9a4f R12: ffff8880b8842208 R13: dffffc0000000000 R14: ffff8880b893b240 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88812623e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000030000 CR3: 000000000dd38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1043 on_each_cpu include/linux/smp.h:71 [inline] smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2713 [inline] smp_text_poke_batch_finish+0x5f9/0x1130 arch/x86/kernel/alternative.c:2923 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xc5/0x1b0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 toggle_allocation_gate+0x1a1/0x240 mm/kfence/core.c:857 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245