watchdog: BUG: soft lockup - CPU#0 stuck for 222s! [syz-executor.1:10821] Modules linked in: CPU: 0 PID: 10821 Comm: syz-executor.1 Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5ba/0xc40 kernel/locking/qspinlock.c:508 Code: 00 00 49 89 dc c6 03 00 48 8b 44 24 10 0f b6 04 10 84 c0 0f 85 48 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 06 f3 90 c3 74 5e 41 0f b6 44 15 00 84 c0 75 36 41 80 3f 00 75 ea 4c 89 RSP: 0018:ffffc90000007b40 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 00000000fffff1df RCX: ffffffff8154f88f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881184d6bc8 RBP: ffffc90000007c30 R08: dffffc0000000000 R09: ffffed102309ad7a R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7037ed4 R13: 1ffff1102309ad79 R14: 1ffff1103ee00001 R15: ffff8881184d6bc8 FS: 0000555555853480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010d2b3000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000000032ed DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: 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_keepalive_timer+0x32/0xd30 net/ipv4/tcp_timer.c:703 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:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x84c/0x9b0 kernel/smp.c:969 Code: 01 31 ff e8 36 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 71 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 55 a4 0a 00 eb e4 44 89 e9 80 e1 RSP: 0018:ffffc90002537860 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff1103ee276cd RCX: ffff88811d562780 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90002537978 R08: ffffffff81657cfa R09: ffffed103ee07053 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713b668 R14: ffff8881f7038280 R15: dffffc0000000000 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_flush arch/x86/kernel/alternative.c:1555 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1562 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_disable_cpuslocked+0xcd/0x1b0 kernel/jump_label.c:207 static_key_disable+0x1a/0x30 kernel/jump_label.c:215 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x60a/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:2874 bpf_link_free+0x129/0x3f0 kernel/bpf/syscall.c:2445 bpf_link_put kernel/bpf/syscall.c:2471 [inline] bpf_link_release+0x170/0x180 kernel/bpf/syscall.c:2479 __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:0x7fdabacd3d5a 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:00007ffe6e78b480 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fdabacd3d5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fdabae04980 R08: 0000001b32020000 R09: 0000000000000194 R10: 00000000812e7ea3 R11: 0000000000000293 R12: 00000000002e7936 R13: ffffffffffffffff R14: 00007fdaba857000 R15: 00000000002e75f5 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 298 Comm: syz-fuzzer Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #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:ffffc900001cf600 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000039ec4 RCX: ffffffff8154f88f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810c482300 RBP: ffffc900001cf6b0 R08: dffffc0000000000 R09: ffffed1021890461 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88810c482300 R14: 0000000000000003 R15: 1ffff92000039ec8 FS: 000000c00107c890(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011d0e7000 CR4: 00000000003506a0 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_task_sighand kernel/signal.c:1413 [inline] lock_task_sighand include/linux/sched/signal.h:710 [inline] do_send_sig_info+0x7e/0x230 kernel/signal.c:1302 group_send_sig_info+0x113/0x460 kernel/signal.c:1451 bpf_send_signal_common+0x2d8/0x420 kernel/trace/bpf_trace.c:827 ____bpf_send_signal kernel/trace/bpf_trace.c:832 [inline] bpf_send_signal+0x19/0x20 kernel/trace/bpf_trace.c:830 bpf_prog_7becd524ae48fd9c+0x1a/0xcd0 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_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 skb_free_head net/core/skbuff.c:656 [inline] skb_release_data+0x8a9/0xa80 net/core/skbuff.c:678 skb_release_all net/core/skbuff.c:743 [inline] __kfree_skb+0x50/0x70 net/core/skbuff.c:757 sk_wmem_free_skb include/net/sock.h:1634 [inline] tcp_rtx_queue_unlink_and_free+0x203/0x720 include/net/tcp.h:1907 tcp_clean_rtx_queue net/ipv4/tcp_input.c:3343 [inline] tcp_ack+0x23e0/0x68a0 net/ipv4/tcp_input.c:3900 tcp_rcv_established+0xcd6/0x1ac0 net/ipv4/tcp_input.c:5904 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_map_delete net/core/sock_map.c:426 [inline] sock_map_delete_elem+0xcb/0x130 net/core/sock_map.c:448 bpf_prog_2c29ac5cdc6b1842+0x3a/0x83c 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_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138 __traceiter_kmem_cache_free+0x32/0x50 include/trace/events/kmem.h:138 trace_kmem_cache_free include/trace/events/kmem.h:138 [inline] kmem_cache_free+0x2c3/0x2e0 mm/slub.c:3536 __sigqueue_free kernel/signal.c:462 [inline] collect_signal kernel/signal.c:601 [inline] __dequeue_signal+0x4f8/0x600 kernel/signal.c:623 dequeue_signal+0x10c/0x520 kernel/signal.c:643 get_signal+0x7cf/0x1630 kernel/signal.c:2777 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172 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: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:000000c0009cb748 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: fffffffffffffffc RBX: 0000000000000004 RCX: 000000000040720e RDX: 0000000000000080 RSI: 000000c0009cb818 RDI: 0000000000000004 RBP: 000000c0009cb790 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000128 R11: 0000000000000246 R12: 000000c0009cb820 R13: 0000000000000003 R14: 000000c0003ac340 R15: 0000000000000006