RBP: 00007f12df1f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f12df345fa0 R15: 00007ffe45fbf9f8 watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [syz.6.1792:5173] Modules linked in: CPU: 1 PID: 5173 Comm: syz.6.1792 Not tainted 6.1.115-syzkaller-00002-g182b090f35f3 #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_single+0x27b/0x510 kernel/smp.c:787 Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 a7 ad 09 00 41 83 e5 01 75 0a e8 ec a9 09 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:ffffc9000b606780 EFLAGS: 00000246 RAX: ffffffff816bdce7 RBX: 1ffff920016c0cf9 RCX: 0000000000080000 RDX: ffffc90003b83000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000b606870 R08: ffffffff816bdcb9 R09: fffff520016c0cc9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc9000b6067c8 R15: 0000000000000000 FS: 00007f12dfedf6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe380347bac CR3: 0000000135277000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000008005 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: loaded_vmcs_clear arch/x86/kvm/vmx/vmx.c:750 [inline] vmx_vcpu_load_vmcs+0x11e/0x780 arch/x86/kvm/vmx/vmx.c:1354 vmx_vcpu_load+0x1d/0x90 arch/x86/kvm/vmx/vmx.c:1421 kvm_arch_vcpu_load+0x16c/0x760 arch/x86/kvm/x86.c:4739 kvm_sched_in+0x86/0xc0 virt/kvm/kvm_main.c:5810 __fire_sched_in_preempt_notifiers kernel/sched/core.c:4973 [inline] fire_sched_in_preempt_notifiers kernel/sched/core.c:4979 [inline] finish_task_switch+0x6a8/0x7b0 kernel/sched/core.c:5304 context_switch kernel/sched/core.c:5420 [inline] __schedule+0xcbd/0x1560 kernel/sched/core.c:6747 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:7059 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396 irqentry_exit+0x30/0x40 kernel/entry/common.c:439 sysvec_apic_timer_interrupt+0x64/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__vmcs_readl arch/x86/kvm/vmx/vmx_ops.h:76 [inline] RIP: 0010:vmcs_read32 arch/x86/kvm/vmx/vmx_ops.h:144 [inline] RIP: 0010:vmx_read_guest_seg_limit arch/x86/kvm/vmx/vmx.c:792 [inline] RIP: 0010:vmx_get_segment+0x308/0x8a0 arch/x86/kvm/vmx/vmx.c:3422 Code: 48 8d 98 c8 a7 84 85 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 2b 04 00 00 4d 89 ee 0f 1f 44 00 00 44 8b 2b 44 0f 78 eb <0f> 86 03 05 00 00 e8 3d 8d 53 00 4d 89 f5 4c 8b 75 b8 4c 89 f0 48 RSP: 0018:ffffc9000b606dd8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 00000000000fffff RCX: 0000000000080000 RDX: ffffc90003b83000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000b606e30 R08: ffffffff8121f87b R09: ffffed1024d3e4cf R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000b606ea0 R13: 0000000000004802 R14: dffffc0000000000 R15: 0000000000000001 kvm_get_segment arch/x86/kvm/x86.c:7198 [inline] emulator_get_segment+0xc9/0x930 arch/x86/kvm/x86.c:8046 __linearize arch/x86/kvm/emulate.c:745 [inline] __do_insn_fetch_bytes+0x39b/0x720 arch/x86/kvm/emulate.c:940 x86_decode_insn+0x34e/0x47b0 arch/x86/kvm/emulate.c:5125 x86_decode_emulated_instruction+0x61/0x190 arch/x86/kvm/x86.c:8863 x86_emulate_instruction+0x23f/0x1be0 arch/x86/kvm/x86.c:8903 kvm_mmu_page_fault+0x8ae/0xc30 arch/x86/kvm/mmu/mmu.c:5617 handle_ept_violation+0x24c/0x530 arch/x86/kvm/vmx/vmx.c:5723 __vmx_handle_exit arch/x86/kvm/vmx/vmx.c:6502 [inline] vmx_handle_exit+0xeda/0x1ec0 arch/x86/kvm/vmx/vmx.c:6519 vcpu_enter_guest+0x30e3/0x9490 arch/x86/kvm/x86.c:10959 vcpu_run arch/x86/kvm/x86.c:11062 [inline] kvm_arch_vcpu_ioctl_run+0x1478/0x2270 arch/x86/kvm/x86.c:11283 kvm_vcpu_ioctl+0x7eb/0xcf0 virt/kvm/kvm_main.c:4122 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x114/0x190 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x98/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 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:0x7f12df17ff19 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:00007f12dfedf058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f12df345fa0 RCX: 00007f12df17ff19 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000006 RBP: 00007f12df1f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f12df345fa0 R15: 00007ffe45fbf9f8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5200 Comm: syz.0.1802 Not tainted 6.1.115-syzkaller-00002-g182b090f35f3 #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 0a eb 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:ffffc900009df2e0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff9200013be60 RCX: ffffffff8521d43c RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f6e27b80 RBP: ffffc900009df390 R08: dffffc0000000000 R09: ffffed103edc4f71 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f6e27b80 R14: 0000000000000003 R15: 1ffff9200013be64 FS: 00007fe380f096c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010d10d000 CR4: 00000000003526b0 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:2271 [inline] bpf_trace_run3+0x177/0x2e0 kernel/trace/bpf_trace.c:2311 __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:1740 __do_sys_socketpair net/socket.c:1776 [inline] __se_sys_socketpair net/socket.c:1773 [inline] __x64_sys_socketpair+0x9b/0xb0 net/socket.c:1773 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:0x7fe38017ff19 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:00007fe380f09058 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: ffffffffffffffda RBX: 00007fe380345fa0 RCX: 00007fe38017ff19 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 000000000000001e RBP: 00007fe3801f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000940 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe380345fa0 R15: 00007ffd95639898