RBP: 00007f05ed8388ee R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f05ed959058 R15: 00007fffd9830cd8
watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [syz.2.2062:5876]
Modules linked in:
CPU: 1 PID: 5876 Comm: syz.2.2062 Not tainted 5.15.152-syzkaller-00143-g70e1a731d986 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline]
RIP: 0010:smp_call_function_many_cond+0x843/0x9b0 kernel/smp.c:969
Code: 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 76 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 b1 a4 0a 00 eb 38 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 95 a4
RSP: 0018:ffffc90000ad7820 EFLAGS: 00000246
RAX: ffffffff81659ddb RBX: 1ffff1103ee07af1 RCX: 0000000000040000
RDX: ffffc90001fd3000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc90000ad7938 R08: ffffffff81659daa R09: ffffed103ee271d3
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8881f703d788 R14: ffff8881f7138e80 R15: dffffc0000000000
FS: 00007f05ec4296c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200012c0 CR3: 00000001288d6000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1201 [inline]
text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1392
text_poke_flush arch/x86/kernel/alternative.c:1560 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1567
arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146
__jump_label_update+0x36a/0x380 kernel/jump_label.c:459
jump_label_update+0x3af/0x450 kernel/jump_label.c:830
static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177
static_key_enable+0x1a/0x30 kernel/jump_label.c:190
account_event+0x797/0x860 kernel/events/core.c:11572
perf_event_alloc+0x181f/0x1b00 kernel/events/core.c:11806
__do_sys_perf_event_open kernel/events/core.c:12273 [inline]
__se_sys_perf_event_open+0xb27/0x3ce0 kernel/events/core.c:12165
__x64_sys_perf_event_open+0xbf/0xd0 kernel/events/core.c:12165
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f05ed7ca9f9
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:00007f05ec429038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f05ed959058 RCX: 00007f05ed7ca9f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200012c0
RBP: 00007f05ed8388ee R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f05ed959058 R15: 00007fffd9830cd8
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 322 Comm: kworker/0:2 Not tainted 5.15.152-syzkaller-00143-g70e1a731d986 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events bpf_prog_free_deferred
RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:57 [inline]
RIP: 0010:halt arch/x86/include/asm/irqflags.h:98 [inline]
RIP: 0010:kvm_wait+0x117/0x180 arch/x86/kernel/kvm.c:912
Code: 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 53 41 0f b6 45 00 44 38 f0 0f 85 63 ff ff ff 66 90 0f 00 2d 5a 02 13 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b
RSP: 0018:ffffc900000078c0 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 1ffff92000000f1c RCX: 00000000874fe200
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffffff874fe280
RBP: ffffc90000007970 R08: dffffc0000000000 R09: 0000000000000000
R10: fffffbfff0e9fc50 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffffff874fe280 R14: 0000000000000003 R15: 1ffff92000000f20
FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff2f61f2d60 CR3: 000000010c4ec000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
__pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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:199 [inline]
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline]
_raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162
free_percpu+0x9e/0x1090 mm/percpu.c:2279
qdisc_free net/sched/sch_generic.c:997 [inline]
qdisc_free_cb+0x7b/0xe0 net/sched/sch_generic.c:1008
rcu_do_batch+0x57a/0xc10 kernel/rcu/tree.c:2523
rcu_core+0x517/0x1020 kernel/rcu/tree.c:2763
rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776
__do_softirq+0x26d/0x5bf kernel/softirq.c:565
do_softirq+0xf6/0x150 kernel/softirq.c:452
__local_bh_enable_ip+0x75/0x80 kernel/softirq.c:379
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline]
_raw_spin_unlock_bh+0x51/0x60 kernel/locking/spinlock.c:210
sock_hash_delete_elem+0x2a2/0x2f0 net/core/sock_map.c:945
bpf_prog_bc4ba9860fbb0da4+0x3e/0x600
bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline]
__bpf_prog_run include/linux/filter.h:625 [inline]
bpf_prog_run include/linux/filter.h:632 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline]
bpf_trace_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1918
__bpf_trace_percpu_free_percpu+0x2b/0x40 include/trace/events/percpu.h:43
trace_percpu_free_percpu include/trace/events/percpu.h:43 [inline]
free_percpu+0xd12/0x1090 mm/percpu.c:2306
__bpf_prog_free kernel/bpf/core.c:263 [inline]
bpf_prog_unlock_free include/linux/filter.h:926 [inline]
bpf_jit_free+0x1bb/0x240 kernel/bpf/core.c:932
bpf_prog_free_deferred+0x61e/0x730 kernel/bpf/core.c:2296
process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325
worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
kthread+0x421/0x510 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298