============================= [ BUG: Invalid wait context ] syzkaller #0 Tainted: G L ----------------------------- kworker/u8:12/6310 is trying to lock: ffff888079530ee8 (&po->pg_vec_lock){+.+.}-{4:4}, at: spin_lock include/linux/spinlock.h:342 [inline] ffff888079530ee8 (&po->pg_vec_lock){+.+.}-{4:4}, at: tcp_tsq_handler+0x1d/0x200 net/ipv4/tcp_output.c:1291 other info that might help us debug this: context-{3:3} 4 locks held by kworker/u8:12/6310: #0: ffff88803790a940 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc9000412fd08 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 #2: ffff88801bc09540 ((wq_completion)events_bh){+.-.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #3: ffffc90000007d80 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 stack backtrace: CPU: 0 UID: 0 PID: 6310 Comm: kworker/u8:12 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4830 [inline] check_wait_context kernel/locking/lockdep.c:4902 [inline] __lock_acquire+0xf75/0x1a40 kernel/locking/lockdep.c:5187 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x1b9/0x370 kernel/locking/lockdep.c:5825 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158 spin_lock include/linux/spinlock.h:342 [inline] tcp_tsq_handler+0x1d/0x200 net/ipv4/tcp_output.c:1291 tcp_tsq_workfn+0x2b2/0x560 net/ipv4/tcp_output.c:1325 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322 process_scheduled_works kernel/workqueue.c:3405 [inline] bh_worker+0x646/0x890 kernel/workqueue.c:3708 workqueue_softirq_action+0x142/0x1a0 kernel/workqueue.c:3736 tasklet_action+0x14/0x70 kernel/softirq.c:965 handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622 do_softirq kernel/softirq.c:523 [inline] do_softirq+0xac/0xe0 kernel/softirq.c:510 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:450 wg_socket_send_skb_to_peer+0x145/0x210 drivers/net/wireguard/socket.c:183 wg_socket_send_buffer_to_peer+0x148/0x1a0 drivers/net/wireguard/socket.c:199 wg_packet_send_handshake_initiation+0x227/0x360 drivers/net/wireguard/send.c:40 wg_packet_handshake_send_worker+0x1c/0x30 drivers/net/wireguard/send.c:51 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322 process_scheduled_works kernel/workqueue.c:3405 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: workqueue leaked atomic, lock or RCU: kworker/u8:12[6310] preempt=0x00000101 lock=2->0 RCU=0->0 workfn=tcp_tsq_workfn INFO: lockdep is turned off. CPU: 0 UID: 0 PID: 6310 Comm: kworker/u8:12 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 process_one_work.cold+0x128/0x2fe kernel/workqueue.c:3343 process_scheduled_works kernel/workqueue.c:3405 [inline] bh_worker+0x646/0x890 kernel/workqueue.c:3708 workqueue_softirq_action+0x142/0x1a0 kernel/workqueue.c:3736 tasklet_action+0x14/0x70 kernel/softirq.c:965 handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622 do_softirq kernel/softirq.c:523 [inline] do_softirq+0xac/0xe0 kernel/softirq.c:510 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:450 wg_socket_send_skb_to_peer+0x145/0x210 drivers/net/wireguard/socket.c:183 wg_socket_send_buffer_to_peer+0x148/0x1a0 drivers/net/wireguard/socket.c:199 wg_packet_send_handshake_initiation+0x227/0x360 drivers/net/wireguard/send.c:40 wg_packet_handshake_send_worker+0x1c/0x30 drivers/net/wireguard/send.c:51 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322 process_scheduled_works kernel/workqueue.c:3405 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245