====================================================== WARNING: possible circular locking dependency detected syzkaller #0 Tainted: G L ------------------------------------------------------ kworker/0:1/10 is trying to acquire lock: ffff88803b3dd160 (slock-AF_PHONET/1){+.+.}-{3:3}, at: __sk_receive_skb+0x1bf/0x9e0 net/core/sock.c:563 but task is already holding lock: ffff888033fcbfe0 (slock-AF_PHONET){+...}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:45 [inline] ffff888033fcbfe0 (slock-AF_PHONET){+...}-{3:3}, at: __sk_receive_skb+0x1f1/0x9e0 net/core/sock.c:565 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (slock-AF_PHONET){+...}-{3:3}: rt_spin_lock+0x83/0x400 kernel/locking/spinlock_rt.c:56 spin_lock include/linux/spinlock_rt.h:45 [inline] __sk_receive_skb+0x1f1/0x9e0 net/core/sock.c:565 sk_receive_skb include/net/sock.h:2022 [inline] phonet_rcv+0x781/0xc40 net/phonet/af_phonet.c:-1 __netif_receive_skb_one_core net/core/dev.c:6210 [inline] __netif_receive_skb net/core/dev.c:6323 [inline] process_backlog+0x5e1/0xc60 net/core/dev.c:6674 __napi_poll+0xab/0x550 net/core/dev.c:7738 napi_poll net/core/dev.c:7801 [inline] net_rx_action+0x696/0xe00 net/core/dev.c:7958 handle_softirqs+0x1de/0x6d0 kernel/softirq.c:626 __do_softirq kernel/softirq.c:660 [inline] __local_bh_enable_ip+0x170/0x2b0 kernel/softirq.c:302 local_bh_enable include/linux/bottom_half.h:33 [inline] netif_rx+0xb9/0xf0 net/core/dev.c:5776 pn_send+0x62a/0x8e0 net/phonet/af_phonet.c:188 pn_skb_send+0x218/0x530 net/phonet/af_phonet.c:275 pep_indicate net/phonet/pep.c:123 [inline] pipe_snd_status+0x1f1/0x320 net/phonet/pep.c:221 pipe_grant_credits net/phonet/pep.c:244 [inline] pipe_do_rcv+0xf15/0x16a0 net/phonet/pep.c:433 sk_backlog_rcv include/net/sock.h:1190 [inline] __sk_receive_skb+0x962/0x9e0 net/core/sock.c:572 sk_receive_skb include/net/sock.h:2022 [inline] pep_do_rcv+0x685/0xaa0 net/phonet/pep.c:675 sk_backlog_rcv include/net/sock.h:1190 [inline] __release_sock+0x2a9/0x3d0 net/core/sock.c:3216 release_sock+0x1be/0x290 net/core/sock.c:3815 pep_sock_accept+0xd47/0x11e0 net/phonet/pep.c:879 pn_socket_accept+0xc1/0x310 net/phonet/socket.c:303 do_accept+0x6ca/0x930 net/socket.c:2062 __sys_accept4_file net/socket.c:2096 [inline] __sys_accept4+0x139/0x230 net/socket.c:2118 __do_sys_accept4 net/socket.c:2125 [inline] __se_sys_accept4 net/socket.c:2122 [inline] __x64_sys_accept4+0x9a/0xb0 net/socket.c:2122 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> #0 (slock-AF_PHONET/1){+.+.}-{3:3}: check_prev_add kernel/locking/lockdep.c:3167 [inline] check_prevs_add kernel/locking/lockdep.c:3286 [inline] validate_chain kernel/locking/lockdep.c:3910 [inline] __lock_acquire+0x15a5/0x2cf0 kernel/locking/lockdep.c:5239 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5870 rt_spin_lock_nested+0x81/0x3f0 kernel/locking/spinlock_rt.c:64 __sk_receive_skb+0x1bf/0x9e0 net/core/sock.c:563 sk_receive_skb include/net/sock.h:2022 [inline] pep_do_rcv+0x685/0xaa0 net/phonet/pep.c:675 sk_backlog_rcv include/net/sock.h:1190 [inline] __sk_receive_skb+0x962/0x9e0 net/core/sock.c:572 sk_receive_skb include/net/sock.h:2022 [inline] phonet_rcv+0x781/0xc40 net/phonet/af_phonet.c:-1 __netif_receive_skb_one_core net/core/dev.c:6210 [inline] __netif_receive_skb net/core/dev.c:6323 [inline] process_backlog+0x5e1/0xc60 net/core/dev.c:6674 __napi_poll+0xab/0x550 net/core/dev.c:7738 napi_poll net/core/dev.c:7801 [inline] net_rx_action+0x696/0xe00 net/core/dev.c:7958 handle_softirqs+0x1de/0x6d0 kernel/softirq.c:626 __do_softirq kernel/softirq.c:660 [inline] __local_bh_enable_ip+0x170/0x2b0 kernel/softirq.c:302 wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline] wg_packet_tx_worker+0x16b/0x7c0 drivers/net/wireguard/send.c:276 process_one_work+0x9a3/0x1710 kernel/workqueue.c:3312 process_scheduled_works kernel/workqueue.c:3403 [inline] worker_thread+0xba8/0x11e0 kernel/workqueue.c:3489 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(slock-AF_PHONET); lock(slock-AF_PHONET/1); lock(slock-AF_PHONET); lock(slock-AF_PHONET/1); *** DEADLOCK *** 7 locks held by kworker/0:1/10: #0: ffff88805d45ed38 ((wq_completion)wg-crypt-wg0#3){+.+.}-{0:0}, at: process_one_work+0x890/0x1710 kernel/workqueue.c:3284 #1: ffffc900000f7c40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x1710 kernel/workqueue.c:3285 #2: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: __local_bh_disable_ip+0x3c/0x420 kernel/softirq.c:163 #3: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #3: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #3: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x271/0xc60 net/core/dev.c:6673 #4: ffff888033fcbfe0 (slock-AF_PHONET){+...}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:45 [inline] #4: ffff888033fcbfe0 (slock-AF_PHONET){+...}-{3:3}, at: __sk_receive_skb+0x1f1/0x9e0 net/core/sock.c:565 #5: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #5: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #5: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: __rt_spin_lock kernel/locking/spinlock_rt.c:50 [inline] #5: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: rt_spin_lock+0x1e0/0x400 kernel/locking/spinlock_rt.c:57 #6: ffff888033fcc098 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: sk_receive_skb include/net/sock.h:2022 [inline] #6: ffff888033fcc098 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: phonet_rcv+0x781/0xc40 net/phonet/af_phonet.c:-1 stack backtrace: CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G L syzkaller #0 PREEMPT_{RT,(full)} Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Workqueue: wg-crypt-wg0 wg_packet_tx_worker Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_circular_bug+0x2e1/0x300 kernel/locking/lockdep.c:2045 check_noncircular+0x12e/0x150 kernel/locking/lockdep.c:2177 check_prev_add kernel/locking/lockdep.c:3167 [inline] check_prevs_add kernel/locking/lockdep.c:3286 [inline] validate_chain kernel/locking/lockdep.c:3910 [inline] __lock_acquire+0x15a5/0x2cf0 kernel/locking/lockdep.c:5239 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5870 rt_spin_lock_nested+0x81/0x3f0 kernel/locking/spinlock_rt.c:64 __sk_receive_skb+0x1bf/0x9e0 net/core/sock.c:563 sk_receive_skb include/net/sock.h:2022 [inline] pep_do_rcv+0x685/0xaa0 net/phonet/pep.c:675 sk_backlog_rcv include/net/sock.h:1190 [inline] __sk_receive_skb+0x962/0x9e0 net/core/sock.c:572 sk_receive_skb include/net/sock.h:2022 [inline] phonet_rcv+0x781/0xc40 net/phonet/af_phonet.c:-1 __netif_receive_skb_one_core net/core/dev.c:6210 [inline] __netif_receive_skb net/core/dev.c:6323 [inline] process_backlog+0x5e1/0xc60 net/core/dev.c:6674 __napi_poll+0xab/0x550 net/core/dev.c:7738 napi_poll net/core/dev.c:7801 [inline] net_rx_action+0x696/0xe00 net/core/dev.c:7958 handle_softirqs+0x1de/0x6d0 kernel/softirq.c:626 __do_softirq kernel/softirq.c:660 [inline] __local_bh_enable_ip+0x170/0x2b0 kernel/softirq.c:302 wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline] wg_packet_tx_worker+0x16b/0x7c0 drivers/net/wireguard/send.c:276 process_one_work+0x9a3/0x1710 kernel/workqueue.c:3312 process_scheduled_works kernel/workqueue.c:3403 [inline] worker_thread+0xba8/0x11e0 kernel/workqueue.c:3489 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245