kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 hrtimer: interrupt took 21904 ns watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.1.2:386] Modules linked in: CPU: 1 PID: 386 Comm: syz.1.2 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:__sanitizer_cov_trace_pc+0x31/0x50 kernel/kcov.c:192 Code: 0d 74 42 9e 7e 65 8b 15 79 42 9e 7e f7 c2 00 01 1f 00 74 01 c3 8b 91 00 0a 00 00 83 fa 02 75 f4 48 8b 91 08 0a 00 00 48 8b 32 <48> 8d 7e 01 8b 89 04 0a 00 00 48 39 cf 73 db 48 89 44 f2 08 48 89 RSP: 0018:ffff8881eb647778 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffffffff8159a2e1 RBX: 1ffff1103d6c8efb RCX: ffff8881ec5dde80 RDX: ffffc90000d41000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffff8881eb647870 R08: ffffffff8159a2b3 R09: ffffed103edcb189 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103d6c8ef4 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f6ae1bae6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f316d436a21 CR3: 00000001eba67000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:109 [inline] smp_call_function_single+0x251/0x4a0 kernel/smp.c:311 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 text_poke_bp_batch+0x11a/0x2b0 arch/x86/kernel/alternative.c:1051 arch_jump_label_transform_apply+0x27/0x40 arch/x86/kernel/jump_label.c:167 static_key_slow_inc_cpuslocked+0x128/0x210 kernel/jump_label.c:144 static_key_slow_inc+0x16/0x20 kernel/jump_label.c:159 perf_swevent_init+0x390/0x680 kernel/events/core.c:8760 perf_try_init_event+0x130/0x3e0 kernel/events/core.c:10357 perf_init_event kernel/events/core.c:10408 [inline] perf_event_alloc+0xdd9/0x1b30 kernel/events/core.c:10678 __do_sys_perf_event_open kernel/events/core.c:11160 [inline] __se_sys_perf_event_open+0xa9f/0x37c0 kernel/events/core.c:11052 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f6ae3544169 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:00007f6ae1bae038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f6ae375cfa0 RCX: 00007f6ae3544169 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000400000000480 RBP: 00007f6ae35c52a0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6ae375cfa0 R15: 00007ffc03177158 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 379 Comm: syz.3.4 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:ffff8881ebba7240 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff1103d774e4c RCX: ffffffff814c1b94 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8881ec3ded20 RBP: ffff8881ebba72f0 R08: dffffc0000000000 R09: ffffed103d87bda5 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881ec3ded20 R14: ffff8881ebba7280 R15: 0000000000000046 FS: 00007f07659296c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00004000000029c0 CR3: 00000001eb837000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x4c8/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:0x7f07672bf169 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:00007f0765929038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f07674d7fa0 RCX: 00007f07672bf169 RDX: 0000000000000020 RSI: 0000400000000740 RDI: 0000000000000002 RBP: 00007f07673402a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f07674d7fa0 R15: 00007fff9f521458