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/1:5:508] Modules linked in: CPU: 1 PID: 508 Comm: kworker/1:5 Not tainted 5.4.289-syzkaller-00025-g49530c73f82d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events bpf_prog_free_deferred RIP: 0010:csd_lock_wait kernel/smp.c:109 [inline] RIP: 0010:smp_call_function_single+0x23e/0x4a0 kernel/smp.c:311 Code: 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 44 24 58 01 00 00 00 0f 84 d6 00 00 00 e8 1f a8 0a 00 eb e0 48 RSP: 0018:ffff8881e54278e0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 1ffff1103ca84f27 RCX: ffff8881e597ee40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881e54279d0 R08: ffffffff8159a223 R09: ffffed103edcb189 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ca84f20 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001d1b93000 CR4: 00000000003406a0 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 __purge_vmap_area_lazy+0xea/0x1610 mm/vmalloc.c:1278 _vm_unmap_aliases+0x2dd/0x370 mm/vmalloc.c:1707 vm_remove_mappings mm/vmalloc.c:2226 [inline] __vunmap+0x5b1/0x890 mm/vmalloc.c:2251 bpf_jit_binary_free kernel/bpf/core.c:855 [inline] bpf_jit_free+0x94/0x1f0 kernel/bpf/core.c:868 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: 2300 Comm: syz.0.892 Not tainted 5.4.289-syzkaller-00025-g49530c73f82d #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 0e 0f 1f 44 00 00 0f 00 2d 68 67 77 03 fb f4 4c 89 7c 24 18 ff RSP: 0018:ffff8881dd86f200 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff1103bb0de44 RCX: ffffffff814c1b74 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8881eae52f08 RBP: ffff8881dd86f2b0 R08: dffffc0000000000 R09: ffffed103d5ca5e2 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881eae52f08 R14: ffff8881dd86f240 R15: 0000000000000046 FS: 00007f045c83c6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020008000 CR3: 00000001d1bce000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000082 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 htab_map_delete_elem+0xdb/0x480 kernel/bpf/hashtab.c:1156 bpf_prog_c9faa1663fd3be42+0x239/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_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] alloc_htab_elem+0x285/0x760 kernel/bpf/hashtab.c:789 htab_map_update_elem+0x2db/0x830 kernel/bpf/hashtab.c:919 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:0x7f045e1d1d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f045c83c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f045e3eafa0 RCX: 00007f045e1d1d29 RDX: 0000000000000020 RSI: 00000000200002c0 RDI: 0000000000000002 RBP: 00007f045e2532a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f045e3eafa0 R15: 00007ffc266c5708