watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [kworker/u4:7:3300]
Modules linked in:
CPU: 0 PID: 3300 Comm: kworker/u4:7 Not tainted 6.1.75-syzkaller-00123-g60534eef4739 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 0b 9e 09 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0a e8 46 9a 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:ffffc9000974f840 EFLAGS: 00000293
RAX: ffffffff816bc3fc RBX: 1ffff1103ee27705 RCX: ffff88810f52a880
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000974f958 R08: ffffffff816bc3c5 R09: fffff520012e9ef9
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: 0000000020011000 CR3: 0000000006c0f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
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: 4962 Comm: syz-executor.0 Not tainted 6.1.75-syzkaller-00123-g60534eef4739 #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: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 1a 12 11 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:ffffc90004d374e0 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 1ffff920009a6ea0 RCX: ffffffff84ff6d9c
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881284d1d60
RBP: ffffc90004d37590 R08: dffffc0000000000 R09: ffffed102509a3ad
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881284d1d60 R14: 0000000000000003 R15: 1ffff920009a6ea4
FS: 00007fa7e15e26c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000137778000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 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
trie_delete_elem+0x94/0x760 kernel/bpf/lpm_trie.c:451
bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e
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_run4+0x18d/0x2f0 kernel/trace/bpf_trace.c:2316
__bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:177
trace_mm_page_alloc include/trace/events/kmem.h:177 [inline]
__alloc_pages+0x727/0x780 mm/page_alloc.c:5710
__alloc_pages_node include/linux/gfp.h:236 [inline]
alloc_pages_node include/linux/gfp.h:259 [inline]
__kmalloc_large_node+0x9e/0x1b0 mm/slab_common.c:1098
__do_kmalloc_node mm/slab_common.c:945 [inline]
__kmalloc_node+0xe5/0x1e0 mm/slab_common.c:964
kmalloc_node include/linux/slab.h:579 [inline]
bpf_map_kmalloc_node+0xd0/0x2c0 kernel/bpf/syscall.c:454
lpm_trie_node_alloc kernel/bpf/lpm_trie.c:291 [inline]
trie_update_elem+0x1e6/0xc00 kernel/bpf/lpm_trie.c:333
bpf_map_update_value+0x23a/0x410 kernel/bpf/syscall.c:228
map_update_elem+0x500/0x680 kernel/bpf/syscall.c:1428
__sys_bpf+0x460/0x7f0 kernel/bpf/syscall.c:4969
__do_sys_bpf kernel/bpf/syscall.c:5085 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5083 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5083
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:0x7fa7e087de69
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:00007fa7e15e20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fa7e09abf80 RCX: 00007fa7e087de69
RDX: 0000000000000020 RSI: 0000000020000280 RDI: 0000000000000002
RBP: 00007fa7e08ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa7e09abf80 R15: 00007fff789c2a98