kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.6.1913:7070] Modules linked in: CPU: 1 PID: 7070 Comm: syz.6.1913 Tainted: G W 5.10.234-syzkaller-00023-g3f5f2283d684 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 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 ea ec 0a 00 41 83 e5 01 75 0a e8 2f e9 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:ffffc900010e7560 EFLAGS: 00000246 RAX: ffffffff815fd654 RBX: 1ffff9200021ceb5 RCX: 0000000000080000 RDX: ffffc9000717d000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900010e7650 R08: ffffffff815fd626 R09: ffffed103ee0aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc900010e75a8 R15: 0000000000000000 FS: 00007fb92cf0c6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010b83b000 CR4: 00000000003506a0 DR0: 0000400000000300 DR1: 0000400000000300 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 text_poke_sync arch/x86/kernel/alternative.c:1318 [inline] text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1509 text_poke_flush arch/x86/kernel/alternative.c:1677 [inline] text_poke_queue+0xbc/0x1a0 arch/x86/kernel/alternative.c:1696 arch_jump_label_transform_queue+0x1b6/0x310 arch/x86/kernel/jump_label.c:117 __jump_label_update+0x181/0x380 kernel/jump_label.c:451 jump_label_update+0x379/0x400 kernel/jump_label.c:825 static_key_disable_cpuslocked+0xcd/0x1b0 kernel/jump_label.c:207 static_key_disable+0x1a/0x30 kernel/jump_label.c:215 tracepoint_remove_func kernel/tracepoint.c:438 [inline] tracepoint_probe_unregister+0x6e0/0x9e0 kernel/tracepoint.c:572 trace_event_reg+0x21d/0x260 perf_trace_event_unreg+0xb7/0x1d0 kernel/trace/trace_event_perf.c:162 perf_trace_destroy+0x95/0xb0 kernel/trace/trace_event_perf.c:243 tp_perf_event_destroy+0x15/0x20 kernel/events/core.c:9632 perf_try_init_event+0x395/0x410 kernel/events/core.c:11149 perf_init_event kernel/events/core.c:11186 [inline] perf_event_alloc+0xcf5/0x1970 kernel/events/core.c:11464 __do_sys_perf_event_open kernel/events/core.c:11958 [inline] __se_sys_perf_event_open+0xb12/0x3c30 kernel/events/core.c:11850 __x64_sys_perf_event_open+0xbf/0xd0 kernel/events/core.c:11850 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fb92e8a2169 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:00007fb92cf0c038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fb92eabafa0 RCX: 00007fb92e8a2169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000400000000180 RBP: 00007fb92e9232a0 R08: 0000000000000008 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb92eabafa0 R15: 00007ffecd073178 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7068 Comm: syz.7.1914 Tainted: G W 5.10.234-syzkaller-00023-g3f5f2283d684 #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+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 a5 53 d5 03 f4 0e 0f 1f 44 00 00 0f 00 2d 96 53 d5 03 fb f4 4c 89 7c 24 18 ff RSP: 0018:ffffc90000d27120 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff920001a4e28 RCX: ffffffff8150ca64 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000d27160 RBP: ffffc90000d271d0 R08: dffffc0000000000 R09: ffffed10210b0eaa R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888108587548 R14: 0000000000000003 R15: 0000000000000046 FS: 00007f4e918356c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb92ceebd58 CR3: 0000000125d41000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 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 htab_lock_bucket kernel/bpf/hashtab.c:154 [inline] htab_map_delete_elem+0xe2/0x4f0 kernel/bpf/hashtab.c:1264 bpf_prog_2c29ac5cdc6b1842+0x3a/0x230 bpf_dispatcher_nop_func include/linux/bpf.h:669 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2061 [inline] bpf_trace_run7+0x232/0x350 kernel/trace/bpf_trace.c:2103 __bpf_trace_percpu_alloc_percpu+0x43/0x60 include/trace/events/percpu.h:10 trace_percpu_alloc_percpu include/trace/events/percpu.h:10 [inline] pcpu_alloc+0x12b4/0x1420 mm/percpu.c:1844 __alloc_percpu_gfp+0x27/0x30 mm/percpu.c:1893 alloc_htab_elem+0x3d6/0x710 kernel/bpf/hashtab.c:918 __htab_percpu_map_update_elem+0x2d3/0x450 kernel/bpf/hashtab.c:1154 bpf_percpu_hash_update+0x90/0xc0 kernel/bpf/hashtab.c:1942 bpf_map_update_value+0x25d/0x420 kernel/bpf/syscall.c:194 map_update_elem kernel/bpf/syscall.c:1136 [inline] __do_sys_bpf kernel/bpf/syscall.c:4428 [inline] __se_sys_bpf+0x7687/0x11cb0 kernel/bpf/syscall.c:4396 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4396 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4e931cb169 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:00007f4e91835038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f4e933e3fa0 RCX: 00007f4e931cb169 RDX: 0000000000000020 RSI: 0000400000000380 RDI: 0000000000000002 RBP: 00007f4e9324c2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4e933e3fa0 R15: 00007ffca48420e8