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! [syz.3.79:652] Modules linked in: CPU: 1 PID: 652 Comm: syz.3.79 Not tainted 5.4.290-syzkaller-00017-g6b07fcd94a6a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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 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 f7 44 24 58 01 00 00 00 0f 84 d6 00 00 RSP: 0018:ffff8881e4dafa60 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffffffff8159a2e1 RBX: 1ffff1103c9b5f57 RCX: ffff8881e5514ec0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881e4dafb50 R08: ffffffff8159a2b3 R09: ffffed103edcb189 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103c9b5f50 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000555590e6d500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000400000000040 CR3: 00000001e5b15000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: task_function_call kernel/events/core.c:114 [inline] event_function_call+0x3ae/0x5b0 kernel/events/core.c:282 perf_remove_from_context kernel/events/core.c:2221 [inline] perf_event_release_kernel+0x424/0xde0 kernel/events/core.c:4735 perf_release+0x37/0x40 kernel/events/core.c:4844 __fput+0x262/0x680 fs/file_table.c:281 task_work_run+0x140/0x170 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x190/0x1a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f239621fdca Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007fff7820f8e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00007f239621fdca RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007f239643bba0 R08: 0000000000000001 R09: 000000267820fbef R10: 00007f2396094000 R11: 0000000000000293 R12: 00007f2396439fac R13: 00007f2396439fa0 R14: ffffffffffffffff R15: 00007fff7820fa10 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 672 Comm: syz.1.85 Not tainted 5.4.290-syzkaller-00017-g6b07fcd94a6a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:ffff8881e4a5f240 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff1103c94be4c RCX: ffffffff814c1b94 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8881e813a920 RBP: ffff8881e4a5f2f0 R08: dffffc0000000000 R09: ffffed103d027525 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e813a920 R14: ffff8881e4a5f280 R15: 0000000000000046 FS: 00007f2c4ffc16c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 00000001e9bb8000 CR4: 00000000003406b0 DR0: 0000000000000000 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:465 bpf_prog_8c8ab8634bca3061+0x58c/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] lpm_trie_node_alloc kernel/bpf/lpm_trie.c:288 [inline] trie_update_elem+0x1ba/0xce0 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 RIP: 0033:0x7f2c51957169 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:00007f2c4ffc1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f2c51b6ffa0 RCX: 00007f2c51957169 RDX: 0000000000000020 RSI: 00004000000008c0 RDI: 0000000000000002 RBP: 00007f2c519d82a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2c51b6ffa0 R15: 00007ffd6c284438