kthread+0x2da/0x360 kernel/kthread.c:288
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [kworker/u4:2:13269]
Modules linked in:
CPU: 0 PID: 13269 Comm: kworker/u4:2 Not tainted 5.4.268-syzkaller-00011-g47710d1d3563 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/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 6d b0 0a 00 41 83 e6 01 75 0a e8 72 ad 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:ffff8881e8e9f8a0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffffffff815999d1 RBX: 1ffff1103d1d3f1f RCX: ffff8881e306cec0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8881e8e9f990 R08: ffffffff815999a3 R09: ffffed103edeb189
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103d1d3f18
R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020011000 CR3: 00000001ea4fb000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
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:1038
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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 31065 Comm: syz-executor.4 Not tainted 5.4.268-syzkaller-00011-g47710d1d3563 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/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 c7 53 77 03 f4 0e 0f 1f 44 00 00 0f 00 2d b8 53 77 03 fb f4 4c 89 7c 24 18 ff
RSP: 0018:ffff8881ec1d7240 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 1ffff1103d83ae4c RCX: ffffffff814c1654
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8881f1cd1920
RBP: ffff8881ec1d72f0 R08: dffffc0000000000 R09: ffffed103e39a325
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f1cd1920 R14: ffff8881ec1d7280 R15: 0000000000000046
FS: 00007f667fde26c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000540 CR3: 00000001ef241000 CR4: 00000000003406a0
DR0: 0000000020000240 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
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:448
bpf_prog_2c29ac5cdc6b1842+0x76f/0x1000
bpf_call_func include/linux/filter.h:623 [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:4920
__alloc_pages include/linux/gfp.h:503 [inline]
__alloc_pages_node include/linux/gfp.h:516 [inline]
alloc_pages_node include/linux/gfp.h:530 [inline]
kmalloc_order mm/slab_common.c:1342 [inline]
kmalloc_order_trace+0x2a/0x100 mm/slab_common.c:1358
__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+0x1bf/0xba0 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