watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [syz-fuzzer:325] Modules linked in: CPU: 0 PID: 325 Comm: syz-fuzzer Tainted: G W 5.15.149-syzkaller-00490-g5d96939590c0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 5b 03 f3 03 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90005267760 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff92000a4cef0 RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88811849bb08 RBP: ffffc90005267810 R08: dffffc0000000000 R09: ffffed1023093762 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88811849bb08 R14: 0000000000000003 R15: 1ffff92000a4cef4 FS: 000000c001063890(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f353cf91000 CR3: 000000011e920000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] lock_sock_nested+0x97/0x300 net/core/sock.c:3258 lock_sock include/net/sock.h:1676 [inline] tcp_sendmsg+0x21/0x50 net/ipv4/tcp.c:1455 inet_sendmsg+0xa1/0xc0 net/ipv4/af_inet.c:830 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] sock_write_iter+0x39b/0x530 net/socket.c:1079 call_write_iter include/linux/fs.h:2202 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xd5d/0x1110 fs/read_write.c:594 ksys_write+0x199/0x2c0 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:656 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:0x40720e Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48 RSP: 002b:000000c0008298a8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000040720e RDX: 000000000000000b RSI: 000000c0004b2200 RDI: 0000000000000003 RBP: 000000c0008298e8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000c000829a28 R13: 0000000000000003 R14: 000000c0000076c0 R15: 0000000000000003 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14 Comm: rcu_preempt Tainted: G W 5.15.149-syzkaller-00490-g5d96939590c0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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: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 8a 03 f3 03 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc900001d0640 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff9200003a0cc RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7127900 RBP: ffffc900001d06f0 R08: dffffc0000000000 R09: ffffed103ee24f21 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7127900 R14: 0000000000000003 R15: 1ffff9200003a0d0 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f353a391000 CR3: 000000011e920000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 lock_timer_base+0x12f/0x270 kernel/time/timer.c:952 __mod_timer+0x685/0xcf0 kernel/time/timer.c:999 mod_timer+0x1f/0x30 kernel/time/timer.c:1114 sk_reset_timer+0x22/0xb0 net/core/sock.c:3141 inet_csk_reset_xmit_timer include/net/inet_connection_sock.h:237 [inline] tcp_reset_xmit_timer include/net/tcp.h:1324 [inline] tcp_rearm_rto+0x2d6/0x390 net/ipv4/tcp_input.c:3190 tcp_event_new_data_sent+0x242/0x3f0 net/ipv4/tcp_output.c:81 tcp_write_xmit+0x146d/0x5e80 net/ipv4/tcp_output.c:2712 tcp_tsq_write+0x228/0x330 net/ipv4/tcp_output.c:1019 tcp_tsq_handler+0xa9/0x150 net/ipv4/tcp_output.c:1028 tcp_tasklet_func+0x436/0x4b0 net/ipv4/tcp_output.c:1060 tasklet_action_common+0x22e/0x610 kernel/softirq.c:796 tasklet_action+0x4c/0x60 kernel/softirq.c:821 __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/0xbfc 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:1883 [inline] bpf_trace_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1921 __bpf_trace_timer_start+0x2b/0x40 include/trace/events/timer.h:52 trace_timer_start include/trace/events/timer.h:52 [inline] enqueue_timer+0x351/0x4c0 kernel/time/timer.c:592 internal_add_timer kernel/time/timer.c:617 [inline] __mod_timer+0x8d3/0xcf0 kernel/time/timer.c:1068 schedule_timeout+0x187/0x370 kernel/time/timer.c:1889 rcu_gp_fqs_loop+0x2af/0xf80 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x350 kernel/rcu/tree.c:2145 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298