kthread+0x34b/0x3d0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [kworker/0:49:21442]
Modules linked in:
CPU: 0 PID: 21442 Comm: kworker/0:49 Tainted: G W 5.10.209-syzkaller-00001-ge7daca75b4c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events bpf_prog_free_deferred
RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline]
RIP: 0010:smp_call_function_single+0x278/0x510 kernel/smp.c:517
Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 ba f0 0a 00 41 83 e5 01 75 0a e8 ff ec 0a 00 e9 eb 00 00 00 f3 90 <42> 0f b6 04 23 84 c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00
RSP: 0018:ffffc900010a7780 EFLAGS: 00000293
RAX: ffffffff815fbb14 RBX: 1ffff92000214ef9 RCX: ffff888126f8e2c0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900010a7870 R08: ffffffff815fbae6 R09: ffffed103ee2aec9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: ffffc900010a77c8 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9edf23f5ee CR3: 000000010ef40000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653
smp_call_function_many kernel/smp.c:716 [inline]
smp_call_function kernel/smp.c:738 [inline]
on_each_cpu+0xa8/0x1a0 kernel/smp.c:837
flush_tlb_kernel_range+0x40/0x1c0 arch/x86/mm/tlb.c:950
__purge_vmap_area_lazy+0x102/0x1620 mm/vmalloc.c:1355
_vm_unmap_aliases+0x334/0x3b0 mm/vmalloc.c:1773
vm_remove_mappings mm/vmalloc.c:2261 [inline]
__vunmap+0x617/0x8f0 mm/vmalloc.c:2292
__vfree mm/vmalloc.c:2349 [inline]
vfree+0x5c/0x80 mm/vmalloc.c:2380
module_memfree+0x17/0x30 kernel/module.c:2205
bpf_jit_free_exec+0x15/0x20 kernel/bpf/core.c:866
bpf_jit_binary_free+0x4e/0x2b0 kernel/bpf/core.c:915
bpf_jit_free+0x7c/0x1e0 kernel/bpf/core.c:928
bpf_prog_free_deferred+0x4ba/0x550 kernel/bpf/core.c:2212
process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301
worker_thread+0xaea/0x1510 kernel/workqueue.c:2447
kthread+0x34b/0x3d0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 13232 Comm: syz-executor.4 Tainted: G W 5.10.209-syzkaller-00001-ge7daca75b4c3 #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+0xec/0x150 arch/x86/kernel/kvm.c:921
Code: 03 42 0f b6 04 20 84 c0 75 6a 41 0f b6 45 00 44 38 f0 75 26 41 f7 c7 00 02 00 00 75 0f 0f 1f 44 00 00 0f 00 2d 55 4c d5 03 f4 0e 0f 1f 44 00 00 0f 00 2d 46 4c d5 03 fb f4 4c 89 7c 24 18 ff
RSP: 0018:ffffc90000ee7000 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 1ffff920001dce04 RCX: ffffffff8150b554
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000ee7040
RBP: ffffc90000ee70b0 R08: dffffc0000000000 R09: ffffed10219859a5
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88810cc2cd20 R14: 0000000000000003 R15: 0000000000000046
FS: 00007fa2253346c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff516cec2f8 CR3: 0000000131fbd000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
pv_wait arch/x86/include/asm/paravirt.h:564 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
__pv_queued_spin_lock_slowpath+0x72f/0xc70 kernel/locking/qspinlock.c:508
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
do_raw_spin_lock_flags include/linux/spinlock.h:195 [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+0x94/0x760 kernel/bpf/lpm_trie.c:448
bpf_prog_2c29ac5cdc6b1842+0x3a/0x828
bpf_dispatcher_nop_func include/linux/bpf.h:669 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2061 [inline]
bpf_trace_run4+0x13e/0x2e0 kernel/trace/bpf_trace.c:2100
__bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:193
__traceiter_mm_page_alloc+0x3e/0x60 include/trace/events/kmem.h:193
trace_mm_page_alloc include/trace/events/kmem.h:193 [inline]
__alloc_pages_nodemask+0xa8e/0xaf0 mm/page_alloc.c:5374
__alloc_pages include/linux/gfp.h:544 [inline]
__alloc_pages_node include/linux/gfp.h:557 [inline]
alloc_pages_node include/linux/gfp.h:571 [inline]
alloc_pages include/linux/gfp.h:590 [inline]
kmalloc_order+0x4c/0x170 mm/slab_common.c:843
kmalloc_order_trace+0x18/0x90 mm/slab_common.c:859
kmalloc_large include/linux/slab.h:481 [inline]
__kmalloc+0x1f1/0x330 mm/slub.c:4022
__kmalloc_node include/linux/slab.h:418 [inline]
kmalloc_node include/linux/slab.h:575 [inline]
lpm_trie_node_alloc kernel/bpf/lpm_trie.c:288 [inline]
trie_update_elem+0x1b5/0xb30 kernel/bpf/lpm_trie.c:330
bpf_map_update_value+0x230/0x420 kernel/bpf/syscall.c:219
map_update_elem kernel/bpf/syscall.c:1136 [inline]
__do_sys_bpf kernel/bpf/syscall.c:4417 [inline]
__se_sys_bpf+0x7687/0x11cb0 kernel/bpf/syscall.c:4385
__x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4385
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fa2265b2da9
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:00007fa2253340c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fa2266e0f80 RCX: 00007fa2265b2da9
RDX: 0000000000000020 RSI: 0000000020001640 RDI: 0000000000000002
RBP: 00007fa2265ff47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa2266e0f80 R15: 00007ffe0259f938