kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [kworker/u4:1:9] Modules linked in: CPU: 1 PID: 9 Comm: kworker/u4:1 Not tainted 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__read_once_size include/linux/compiler.h:268 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:109 [inline] RIP: 0010:smp_call_function_single+0x235/0x4a0 kernel/smp.c:311 Code: 0f 85 df 01 00 00 44 8b 74 24 58 44 89 f6 83 e6 01 31 ff e8 3d ab 0a 00 41 83 e6 01 75 0a e8 42 a8 0a 00 e9 f4 00 00 00 f3 90 <42> 0f b6 04 2b 84 c0 75 15 f7 44 24 58 01 00 00 00 0f 84 d6 00 00 RSP: 0018:ffff8881f5dcf8a0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffffffff8159a251 RBX: 1ffff1103ebb9f1f RCX: ffff8881f5dc2f40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881f5dcf990 R08: ffffffff8159a223 R09: ffffed103edcb189 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ebb9f18 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92b29930c0 CR3: 0000000005e0e000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <IRQ> </IRQ> smp_call_function_many+0x6fe/0x9b0 kernel/smp.c:451 smp_call_function kernel/smp.c:509 [inline] on_each_cpu+0xa5/0x1a0 kernel/smp.c:616 text_poke_bp_batch+0x11a/0x2b0 arch/x86/kernel/alternative.c:1051 arch_jump_label_transform_apply+0x27/0x40 arch/x86/kernel/jump_label.c:167 static_key_enable_cpuslocked+0x12c/0x240 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xb1/0x240 mm/kfence/core.c:624 process_one_work+0x765/0xd20 kernel/workqueue.c:2290 worker_thread+0xaef/0x1470 kernel/workqueue.c:2436 kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 775 Comm: syz-executor.0 Not tainted 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:66 [inline] RIP: 0010:halt arch/x86/include/asm/irqflags.h:112 [inline] RIP: 0010:kvm_wait+0xea/0x150 arch/x86/kernel/kvm.c:847 Code: 42 0f b6 04 20 84 c0 75 6b 41 0f b6 45 00 3a 44 24 14 75 26 41 f7 c7 00 02 00 00 75 0f 0f 1f 44 00 00 0f 00 2d 77 67 77 03 f4 <eb> 0e 0f 1f 44 00 00 0f 00 2d 68 67 77 03 fb f4 4c 89 7c 24 18 ff RSP: 0018:ffff8881e17970a0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff1103c2f2e18 RCX: ffffffff814c1b74 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8881e216d520 RBP: ffff8881e1797150 R08: dffffc0000000000 R09: ffffed103c42daa5 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e216d520 R14: ffff8881e17970e0 R15: 0000000000000046 FS: 00007f92b23ea6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92b29930c0 CR3: 00000001e2297000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> pv_wait arch/x86/include/asm/paravirt.h:652 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x72f/0xc70 kernel/locking/qspinlock.c:507 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:642 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:50 [inline] queued_spin_lock include/asm-generic/qspinlock.h:81 [inline] do_raw_spin_lock_flags include/linux/spinlock.h:193 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:159 trie_delete_elem+0x93/0x720 kernel/bpf/lpm_trie.c:465 bpf_prog_fdee3c9a1e8a2a6e+0xe7c/0x1000 bpf_call_func include/linux/filter.h:627 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1341 [inline] bpf_trace_run4+0x149/0x310 kernel/trace/bpf_trace.c:1381 __bpf_trace_mm_page_alloc+0xba/0xe0 include/trace/events/kmem.h:193 trace_mm_page_alloc include/trace/events/kmem.h:193 [inline] __alloc_pages_nodemask+0x7a5/0x840 mm/page_alloc.c:4922 alloc_slab_page+0x39/0x3c0 mm/slub.c:343 allocate_slab mm/slub.c:1683 [inline] new_slab+0x97/0x440 mm/slub.c:1749 new_slab_objects mm/slub.c:2505 [inline] ___slab_alloc+0x2fe/0x490 mm/slub.c:2667 __slab_alloc+0x62/0xa0 mm/slub.c:2707 slab_alloc_node mm/slub.c:2792 [inline] slab_alloc mm/slub.c:2837 [inline] __kmalloc+0x19b/0x2e0 mm/slub.c:3909 __kmalloc_node include/linux/slab.h:422 [inline] kmalloc_node include/linux/slab.h:599 [inline] lpm_trie_node_alloc kernel/bpf/lpm_trie.c:288 [inline] trie_update_elem+0x1ba/0xce0 kernel/bpf/lpm_trie.c:330 map_update_elem kernel/bpf/syscall.c:970 [inline] __do_sys_bpf kernel/bpf/syscall.c:2879 [inline] __se_sys_bpf+0x9296/0xbcb0 kernel/bpf/syscall.c:2849 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f92b2868ea9 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:00007f92b23ea0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f92b2996f80 RCX: 00007f92b2868ea9 RDX: 0000000000000020 RSI: 0000000020000f00 RDI: 0000000000000002 RBP: 00007f92b28b54a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f92b2996f80 R15: 00007ffd458ddce8