worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [kworker/0:2:305] Modules linked in: CPU: 0 PID: 305 Comm: kworker/0:2 Not tainted 6.1.112-syzkaller-00035-g7cd56b010fcf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events pcpu_balance_workfn RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x854/0x930 kernel/smp.c:998 Code: 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 e8 a6 97 09 00 RSP: 0018:ffffc9000dbafb20 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff1103ede7885 RCX: ffff88811000a880 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000dbafc38 R08: ffffffff816c0e53 R09: ffffc9000dbafa60 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000800000000 R14: ffff8881f6f3c428 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e00eff8 CR3: 000000011c37e000 CR4: 00000000003506b0 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] flush_tlb_kernel_range+0x49/0x210 arch/x86/mm/tlb.c:1050 pcpu_post_unmap_tlb_flush mm/percpu-vm.c:188 [inline] pcpu_reclaim_populated mm/percpu.c:2209 [inline] pcpu_balance_workfn+0x55e/0xe60 mm/percpu.c:2245 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6191 Comm: syz.2.1593 Not tainted 6.1.112-syzkaller-00035-g7cd56b010fcf #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: 0000:ffffc90000796280 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff920000f2c54 RCX: ffffffff85217c9c RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f6f27b80 RBP: ffffc90000796330 R08: dffffc0000000000 R09: ffffed103ede4f71 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f6f27b80 R14: 0000000000000003 R15: 1ffff920000f2c58 FS: 000055558cffd500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000012c302000 CR4: 00000000003506a0 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 del_timer+0xbc/0x140 kernel/time/timer.c:1286 try_to_grab_pending+0xeb/0x5d0 kernel/workqueue.c:1285 mod_delayed_work_on+0xb3/0x190 kernel/workqueue.c:1745 mod_delayed_work include/linux/workqueue.h:540 [inline] schedule_delayed_monitor_work kernel/rcu/tree.c:3213 [inline] kvfree_call_rcu+0x5e3/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 __mod_timer+0x83d/0xcf0 kernel/time/timer.c:1119 mod_timer+0x1f/0x30 kernel/time/timer.c:1172 sk_reset_timer+0x22/0xb0 net/core/sock.c:3387 inet_csk_reset_xmit_timer include/net/inet_connection_sock.h:239 [inline] tcp_reset_xmit_timer include/net/tcp.h:1347 [inline] tcp_rearm_rto+0x2d6/0x390 net/ipv4/tcp_input.c:3222 tcp_event_new_data_sent+0x242/0x3f0 net/ipv4/tcp_output.c:81 tcp_write_xmit+0x152a/0x5f50 net/ipv4/tcp_output.c:2714 __tcp_push_pending_frames+0x98/0x2f0 net/ipv4/tcp_output.c:2892 tcp_push_pending_frames include/net/tcp.h:1968 [inline] tcp_data_snd_check net/ipv4/tcp_input.c:5557 [inline] tcp_rcv_established+0xea5/0x1c60 net/ipv4/tcp_input.c:5981 tcp_v4_do_rcv+0x430/0xa20 net/ipv4/tcp_ipv4.c:1680 tcp_v4_rcv+0x20d7/0x2a30 net/ipv4/tcp_ipv4.c:2111 ip_protocol_deliver_rcu+0x32f/0x720 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x246/0x400 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x1b3/0x3b0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:454 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:580 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:631 [inline] ip_sublist_rcv+0x7e5/0x990 net/ipv4/ip_input.c:639 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:674 __netif_receive_skb_list_ptype net/core/dev.c:5587 [inline] __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5635 __netif_receive_skb_list net/core/dev.c:5687 [inline] netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5778 gro_normal_list include/net/gro.h:433 [inline] napi_complete_done+0x344/0x770 net/core/dev.c:6119 virtqueue_napi_complete drivers/net/virtio_net.c:403 [inline] virtnet_poll+0xc4a/0x1450 drivers/net/virtio_net.c:1687 __napi_poll+0xbe/0x5c0 net/core/dev.c:6553 napi_poll net/core/dev.c:6620 [inline] net_rx_action+0x595/0xdd0 net/core/dev.c:6734 handle_softirqs+0x1db/0x650 kernel/softirq.c:617 __do_softirq kernel/softirq.c:655 [inline] invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:704 irq_exit_rcu+0x9/0x10 kernel/softirq.c:716 common_interrupt+0x59/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x27/0x40 arch/x86/include/asm/idtentry.h:644 RIP: 0033:0x7fcfeac5cc25 Code: 50 30 4c 89 f0 49 03 14 ca 80 3d 9d af 2d 00 00 49 89 d6 48 89 d5 74 28 25 ff 0f 00 00 83 f0 3d 8d 04 c0 89 c5 c1 ed 04 31 c5 <69> ed 2d eb d4 27 89 e8 c1 e8 0f 31 c5 81 e5 ff 0f 00 00 48 31 d5 RSP: 002b:00007ffd2940c740 EFLAGS: 00000202 RAX: 0000000000001fa4 RBX: 00007fcfeba65720 RCX: 0000000000000205 RDX: ffffffff81ac5697 RSI: ffffffff8274d8d6 RDI: 000000000000001b RBP: 0000000000001e5e R08: 00007fcfeaf36038 R09: 00007fcfeaf22000 R10: 00007fcfea1ff008 R11: 000000000000001b R12: 000000000000001b R13: 0000000000000000 R14: ffffffff81ac5697 R15: 0000000000000205