watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz-executor.2:9353] Modules linked in: CPU: 0 PID: 9353 Comm: syz-executor.2 Not tainted 5.15.149-syzkaller-00055-g424f92bcbe8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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:ffffc90000007ac0 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff92000000f5c RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881184e0088 RBP: ffffc90000007b70 R08: dffffc0000000000 R09: ffffed102309c012 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881184e0088 R14: 0000000000000003 R15: 1ffff92000000f60 FS: 0000555556477480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000021000000 CR3: 0000000111571000 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 include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] tcp_write_timer+0x25/0x1d0 net/ipv4/tcp_timer.c:662 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1427 expire_timers kernel/time/timer.c:1472 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1743 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1756 __do_softirq+0x26d/0x5bf kernel/softirq.c:565 invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648 irq_exit_rcu+0x9/0x10 kernel/softirq.c:660 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:check_kcov_mode kernel/kcov.c:165 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:197 Code: 45 08 65 48 8b 0d 10 37 92 7e 65 8b 15 11 37 92 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 5c 0b 00 00 00 74 2c <8b> 91 38 0b 00 00 83 fa 02 75 21 48 8b 91 40 0b 00 00 48 8b 32 48 RSP: 0018:ffffc90001e6f750 EFLAGS: 00000246 RAX: ffffffff816591cb RBX: 1ffff1103ee276cd RCX: ffff888127cde2c0 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90001e6f750 R08: ffffffff8165919a R09: ffffed103ee07053 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713b668 R14: ffff8881f7038280 R15: dffffc0000000000 csd_lock_wait kernel/smp.c:440 [inline] smp_call_function_many_cond+0x85b/0x9b0 kernel/smp.c:969 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:1196 [inline] text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1387 text_poke_bp+0xc8/0x140 arch/x86/kernel/alternative.c:1601 __static_call_transform+0xfe/0x140 arch/x86/kernel/static_call.c:67 arch_static_call_transform+0x7f/0x1c0 arch/x86/kernel/static_call.c:112 __static_call_update+0xd2/0x5c0 kernel/static_call_inline.c:136 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_remove_func kernel/tracepoint.c:441 [inline] tracepoint_probe_unregister+0x7fb/0x900 kernel/tracepoint.c:551 bpf_probe_unregister+0x61/0x70 kernel/trace/bpf_trace.c:1957 bpf_raw_tp_link_release+0x63/0x90 kernel/bpf/syscall.c:2880 bpf_link_free+0x129/0x3f0 kernel/bpf/syscall.c:2451 bpf_link_put kernel/bpf/syscall.c:2477 [inline] bpf_link_release+0x170/0x180 kernel/bpf/syscall.c:2485 __fput+0x3fe/0x910 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:308 task_work_run+0x129/0x190 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0xc4/0xe0 kernel/entry/common.c:175 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f72a666cdda Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffe27ed66c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f72a666cdda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f72a67a69a0 R08: 0000001b30c20000 R09: 0000000000000001 R10: 00000000000000b2 R11: 0000000000000293 R12: 00000000000467ce R13: 00007f72a67a4fac R14: 0000000000000032 R15: 00007f72a67a69a0 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9342 Comm: syz-executor.3 Not tainted 5.15.149-syzkaller-00055-g424f92bcbe8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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:ffffc900001cf6e0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000039ee0 RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7136cc0 RBP: ffffc900001cf790 R08: dffffc0000000000 R09: ffffed103ee26d99 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7136cc0 R14: 0000000000000003 R15: 1ffff92000039ee4 FS: 00007f424bc786c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000204b3000 CR3: 00000001286d1000 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 include/linux/spinlock.h:187 [inline] __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154 raw_spin_rq_lock_nested kernel/sched/core.c:489 [inline] raw_spin_rq_lock kernel/sched/sched.h:1352 [inline] rq_lock kernel/sched/sched.h:1660 [inline] ttwu_queue kernel/sched/core.c:3908 [inline] try_to_wake_up+0x625/0x1160 kernel/sched/core.c:4251 wake_up_process+0x10/0x20 kernel/sched/core.c:4322 hrtimer_wakeup+0x62/0x80 kernel/time/hrtimer.c:1939 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x41a/0xad0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x40c/0xaa0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__mod_timer+0x46e/0xcf0 kernel/time/timer.c:990 Code: 81 e4 00 00 08 00 75 63 e8 df 11 10 00 4c 8b 64 24 18 4d 39 f4 0f 85 bb 00 00 00 e8 cc 11 10 00 e9 2c 03 00 00 44 8b 74 24 50 <44> 89 f6 83 e6 02 31 ff e8 65 15 10 00 bf 01 00 00 00 48 89 de e8 RSP: 0018:ffffc900001cfde0 EFLAGS: 00000293 RAX: 0000000080000105 RBX: fffffffffffffffe RCX: ffff88811469a780 RDX: ffff88811469a780 RSI: 00000000fffffb07 RDI: 00000000fffffb05 RBP: ffffc900001cff40 R08: ffffffff816021ca R09: ffffed102309c01e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1102309c09a R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc900001cfea0 mod_timer+0x1f/0x30 kernel/time/timer.c:1114 sk_reset_timer+0x22/0xb0 net/core/sock.c:3141 tcp_send_delayed_ack+0x2e9/0x3e0 net/ipv4/tcp_output.c:3965 __tcp_ack_snd_check+0x41f/0x970 net/ipv4/tcp_input.c:5526 tcp_rcv_established+0x10f1/0x1ac0 net/ipv4/tcp_input.c:5956 tcp_v4_do_rcv+0x3d7/0xa00 net/ipv4/tcp_ipv4.c:1722 tcp_v4_rcv+0x23dd/0x2a70 net/ipv4/tcp_ipv4.c:2125 ip_protocol_deliver_rcu+0x32f/0x710 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x2c6/0x590 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:454 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0x7e2/0x980 net/ipv4/ip_input.c:636 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5535 [inline] __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5583 __netif_receive_skb_list net/core/dev.c:5635 [inline] netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5726 gro_normal_list net/core/dev.c:5880 [inline] napi_complete_done+0x344/0x770 net/core/dev.c:6618 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0xbee/0x1260 drivers/net/virtio_net.c:1592 __napi_poll+0xc4/0x5a0 net/core/dev.c:7042 napi_poll net/core/dev.c:7109 [inline] net_rx_action+0x47d/0xc50 net/core/dev.c:7196 __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_586ab708469db861+0x41/0xf30 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_sched_switch+0xb/0x10 include/trace/events/sched.h:220 __traceiter_sched_switch+0x85/0xc0 include/trace/events/sched.h:220 trace_sched_switch include/trace/events/sched.h:220 [inline] __schedule+0x134b/0x1590 kernel/sched/core.c:6509 preempt_schedule_common+0x9b/0xf0 kernel/sched/core.c:6688 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6713 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x71/0x80 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] input_inject_event+0x134/0x150 drivers/input/input.c:490 evdev_write+0x65d/0x7a0 drivers/input/evdev.c:534 vfs_write+0x406/0x1110 fs/read_write.c:592 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:0x7f424cf03ee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f424bc780c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f424d03afa0 RCX: 00007f424cf03ee9 RDX: 0000000000aa6f50 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f424cf5047f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f424d03afa0 R15: 00007ffe39a01558