watchdog: BUG: soft lockup - CPU#0 stuck for 245s! [kworker/u4:8:9571] Modules linked in: CPU: 0 PID: 9571 Comm: kworker/u4:8 Tainted: G W 6.1.78-syzkaller-00008-g4c45e2f34089 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x851/0x930 kernel/smp.c:998 Code: 3e 44 89 fe 83 e6 01 31 ff e8 4b 9f 09 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0a e8 86 9b 09 00 e9 2f ff ff ff f3 90 <42> 0f b6 04 3b 84 c0 75 14 41 f7 06 01 00 00 00 0f 84 12 ff ff ff RSP: 0018:ffffc90000a77840 EFLAGS: 00000293 RAX: ffffffff816bd89c RBX: 1ffff1103ee27705 RCX: ffff8881119a3cc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000a77958 R08: ffffffff816bd865 R09: ffffed103ee0707b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000800000000 R14: ffff8881f713b828 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a7f901703 CR3: 0000000006e0f000 CR4: 00000000003506b0 DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1329 [inline] text_poke_bp_batch+0x1e9/0x730 arch/x86/kernel/alternative.c:1529 text_poke_flush arch/x86/kernel/alternative.c:1720 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1727 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:455 jump_label_update+0x3af/0x450 kernel/jump_label.c:801 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177 static_key_enable+0x1a/0x30 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:804 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 29344 Comm: syz-executor.3 Tainted: G W 6.1.78-syzkaller-00008-g4c45e2f34089 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:57 [inline] RIP: 0010:halt arch/x86/include/asm/irqflags.h:98 [inline] RIP: 0010:kvm_wait+0x117/0x180 arch/x86/kernel/kvm.c:1058 Code: 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 53 41 0f b6 45 00 44 38 f0 0f 85 63 ff ff ff 66 90 0f 00 2d 0a 13 31 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc90000d77140 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff920001aee2c RCX: ffffffff8500688c RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90001a55080 RBP: ffffc90000d771f0 R08: dffffc0000000000 R09: fffff5200034aa11 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90001a55080 R14: 0000000000000003 R15: 1ffff920001aee30 FS: 00007f9a806746c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e92d000 CR3: 00000001320f0000 CR4: 00000000003506a0 DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6de/0xda0 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __bpf_ringbuf_reserve+0x1c5/0x3d0 kernel/bpf/ringbuf.c:410 ____bpf_ringbuf_output kernel/bpf/ringbuf.c:520 [inline] bpf_ringbuf_output+0x66/0x1f0 kernel/bpf/ringbuf.c:510 bpf_prog_a3e2825f60354855+0x3d/0x41 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2275 [inline] bpf_trace_run2+0x133/0x290 kernel/trace/bpf_trace.c:2314 __bpf_trace_contention_end+0xb/0x10 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __pv_queued_spin_lock_slowpath+0xd59/0xda0 kernel/locking/qspinlock.c:560 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __bpf_ringbuf_reserve+0x1c5/0x3d0 kernel/bpf/ringbuf.c:410 ____bpf_ringbuf_output kernel/bpf/ringbuf.c:520 [inline] bpf_ringbuf_output+0x66/0x1f0 kernel/bpf/ringbuf.c:510 bpf_prog_a3e2825f60354855+0x3d/0x41 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] bpf_test_run+0x4ab/0xa40 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xaf1/0x13a0 net/bpf/test_run.c:1180 bpf_prog_test_run+0x3b0/0x630 kernel/bpf/syscall.c:3650 __sys_bpf+0x59f/0x7f0 kernel/bpf/syscall.c:5005 __do_sys_bpf kernel/bpf/syscall.c:5091 [inline] __se_sys_bpf kernel/bpf/syscall.c:5089 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5089 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9a7f87cea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9a806740c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f9a7f9b3f80 RCX: 00007f9a7f87cea9 RDX: 0000000000000050 RSI: 0000000020000000 RDI: 000000000000000a RBP: 00007f9a7f8ebff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a7f9b3f80 R15: 00007ffccf75c158