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
watchdog: BUG: soft lockup - CPU#0 stuck for 226s! [kworker/u4:9:7587]
Modules linked in:
CPU: 0 PID: 7587 Comm: kworker/u4:9 Tainted: G W 6.1.68-syzkaller-00102-g931187cc187d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:207
Code: 30 fc 8c 7e 65 8b 15 31 fc 8c 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 6c 0b 00 00 00 74 2c 8b 91 48 0b 00 00 <83> fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 4c
RSP: 0018:ffffc90005fbf830 EFLAGS: 00000246
RAX: ffffffff816bd75c RBX: 1ffff1103ee27705 RCX: ffff888135190000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90005fbf830 R08: ffffffff816bd725 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: 00007f1cda3a3680 CR3: 0000000006c0f000 CR4: 00000000003506b0
DR0: 00000000000054aa DR1: 0000000000000fff DR2: ffffffffffffbffc
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
csd_lock_wait kernel/smp.c:453 [inline]
smp_call_function_many_cond+0x86c/0x930 kernel/smp.c:998
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: 1076 Comm: syz-executor.1 Tainted: G W 6.1.68-syzkaller-00102-g931187cc187d #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 aa 10 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:ffffc9000f10f4e0 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 1ffff92001e21ea0 RCX: ffffffff84ff1d4c
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88811ba28960
RBP: ffffc9000f10f590 R08: dffffc0000000000 R09: ffffed102374512d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811ba28960 R14: 0000000000000003 R15: 1ffff92001e21ea4
FS: 00007f0de9f236c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c421000 CR3: 000000014b446000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000009
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
trie_delete_elem+0x94/0x760 kernel/bpf/lpm_trie.c:448
bpf_prog_39de1b35ba1bfd6c+0x42/0x46
bpf_dispatcher_nop_func include/linux/bpf.h:982 [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:5706
__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:288 [inline]
trie_update_elem+0x1e6/0xc00 kernel/bpf/lpm_trie.c:330
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:4960
__do_sys_bpf kernel/bpf/syscall.c:5076 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5074 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5074
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:0x7f0de927dda9
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:00007f0de9f230c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f0de93abf80 RCX: 00007f0de927dda9
RDX: 0000000000000020 RSI: 0000000020000200 RDI: 0000000000000002
RBP: 00007f0de92ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f0de93abf80 R15: 00007ffc96a18368