watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [syz.4.993:3363] Modules linked in: CPU: 1 PID: 3363 Comm: syz.4.993 Not tainted 6.1.112-syzkaller-00038-g93460febf9b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x84f/0x930 kernel/smp.c:998 Code: 3e 44 89 fe 83 e6 01 31 ff e8 8d 9b 09 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0a e8 c8 97 09 00 e9 2f ff ff ff f3 90 <42> 0f b6 04 3b 84 c0 75 14 41 f7 06 01 00 00 00 0f 84 12 ff ff ff RSP: 0018:ffffc900012c7720 EFLAGS: 00000246 RAX: ffffffff816c0e8a RBX: 1ffff1103edc7a99 RCX: 0000000000080000 RDX: ffffc90003301000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900012c7838 R08: ffffffff816c0e53 R09: ffffed103ede71fb R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000800000000 R14: ffff8881f6e3d4c8 R15: dffffc0000000000 FS: 00007fbda2b976c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002100 CR3: 0000000114a0e000 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:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x1e9/0x730 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:451 jump_label_update+0x3af/0x450 kernel/jump_label.c:797 static_key_slow_inc_cpuslocked+0x25a/0x3b0 kernel/jump_label.c:140 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:155 perf_swevent_init+0x3be/0x660 kernel/events/core.c:9859 perf_try_init_event+0x143/0x410 kernel/events/core.c:11494 perf_init_event kernel/events/core.c:11571 [inline] perf_event_alloc+0x10c6/0x1840 kernel/events/core.c:11849 __do_sys_perf_event_open kernel/events/core.c:12385 [inline] __se_sys_perf_event_open+0xb27/0x3d60 kernel/events/core.c:12277 __x64_sys_perf_event_open+0xbf/0xd0 kernel/events/core.c:12277 x64_sys_call+0x7de/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:299 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fbda1d80809 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:00007fbda2b97058 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fbda1f45fa0 RCX: 00007fbda1d80809 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020002100 RBP: 00007fbda1df393e R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbda1f45fa0 R15: 00007ffe58732d08 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3360 Comm: syz.2.990 Not tainted 6.1.112-syzkaller-00038-g93460febf9b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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:1058 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 8a f9 50 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:ffffc90000fe72e0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff920001fce60 RCX: ffffffff85217c9c RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f6e27b80 RBP: ffffc90000fe7390 R08: dffffc0000000000 R09: ffffed103edc4f71 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f6e27b80 R14: 0000000000000003 R15: 1ffff920001fce64 FS: 00007f50446c56c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e419ff8 CR3: 0000000135651000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6de/0xda0 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 lock_timer_base+0x12f/0x270 kernel/time/timer.c:1005 __mod_timer+0x1c9/0xcf0 kernel/time/timer.c:1078 add_timer+0x68/0x80 kernel/time/timer.c:1218 __queue_delayed_work+0x16d/0x1f0 kernel/workqueue.c:1686 queue_delayed_work_on+0x10f/0x180 kernel/workqueue.c:1711 queue_delayed_work include/linux/workqueue.h:525 [inline] schedule_delayed_monitor_work kernel/rcu/tree.c:3216 [inline] kvfree_call_rcu+0x490/0x800 kernel/rcu/tree.c:3472 trie_delete_elem+0x5a6/0x760 kernel/bpf/lpm_trie.c:532 bpf_prog_ae0c3e605f35524c+0x3d/0x41 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run3+0x177/0x2e0 kernel/trace/bpf_trace.c:2313 __bpf_trace_timer_start+0x2b/0x40 include/trace/events/timer.h:53 trace_timer_start include/trace/events/timer.h:53 [inline] enqueue_timer+0x303/0x480 kernel/time/timer.c:615 internal_add_timer kernel/time/timer.c:640 [inline] __mod_timer+0x8d3/0xcf0 kernel/time/timer.c:1121 mod_timer+0x1f/0x30 kernel/time/timer.c:1172 sk_reset_timer+0x22/0xb0 net/core/sock.c:3387 tipc_sk_finish_conn+0x164/0x860 net/tipc/socket.c:1675 tipc_socketpair+0x2a8/0x4f0 net/tipc/socket.c:3350 __sys_socketpair+0x3e0/0x6e0 net/socket.c:1735 __do_sys_socketpair net/socket.c:1771 [inline] __se_sys_socketpair net/socket.c:1768 [inline] __x64_sys_socketpair+0x9b/0xb0 net/socket.c:1768 x64_sys_call+0x19b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:54 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5043980809 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:00007f50446c5058 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: ffffffffffffffda RBX: 00007f5043b46080 RCX: 00007f5043980809 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 000000000000001e RBP: 00007f50439f393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000940 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5043b46080 R15: 00007ffd11c28818