================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. syz.4.943/11231 [HC0[0]:SC0[0]:HE1:SE1] takes: ffff88807e05c570 (slock-AF_PHONET/1){+.?.}-{2:2}, at: __sk_receive_skb+0x180/0x990 net/core/sock.c:564 {IN-SOFTIRQ-W} state was registered at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 _raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378 __sk_receive_skb+0x180/0x990 net/core/sock.c:564 sk_receive_skb include/net/sock.h:2071 [inline] pep_do_rcv+0x682/0xa90 net/phonet/pep.c:675 sk_backlog_rcv include/net/sock.h:1142 [inline] __sk_receive_skb+0x436/0x990 net/core/sock.c:573 sk_receive_skb include/net/sock.h:2071 [inline] phonet_rcv+0x78f/0xc80 net/phonet/af_phonet.c:-1 __netif_receive_skb_one_core net/core/dev.c:5646 [inline] __netif_receive_skb+0xcc/0x290 net/core/dev.c:5760 process_backlog+0x391/0x6f0 net/core/dev.c:6088 __napi_poll+0xc0/0x460 net/core/dev.c:6650 napi_poll net/core/dev.c:6717 [inline] net_rx_action+0x616/0xc40 net/core/dev.c:6853 handle_softirqs+0x280/0x820 kernel/softirq.c:578 do_softirq+0xfa/0x1a0 kernel/softirq.c:479 __local_bh_enable_ip+0x184/0x1c0 kernel/softirq.c:406 local_bh_enable include/linux/bottom_half.h:33 [inline] netif_rx+0x83/0x90 net/core/dev.c:5232 pn_send+0x553/0x7f0 net/phonet/af_phonet.c:185 pn_skb_send+0x218/0x510 net/phonet/af_phonet.c:272 pep_indicate net/phonet/pep.c:123 [inline] pipe_handler_send_created_ind net/phonet/pep.c:155 [inline] pep_connresp_rcv net/phonet/pep.c:521 [inline] pipe_handler_do_rcv+0x15c0/0x1d90 net/phonet/pep.c:587 pep_do_rcv+0x5d4/0xa90 net/phonet/pep.c:708 sk_backlog_rcv include/net/sock.h:1142 [inline] __release_sock+0x1e5/0x460 net/core/sock.c:3011 release_sock+0x5f/0x1c0 net/core/sock.c:3550 pn_socket_connect+0x715/0xba0 net/phonet/socket.c:276 __sys_connect_file net/socket.c:2056 [inline] __sys_connect+0x3da/0x470 net/socket.c:2073 __do_sys_connect net/socket.c:2083 [inline] __se_sys_connect net/socket.c:2080 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2080 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 irq event stamp: 1007 hardirqs last enabled at (1007): [] __local_bh_enable_ip+0x13a/0x1c0 kernel/softirq.c:411 hardirqs last disabled at (1005): [] __local_bh_enable_ip+0xdb/0x1c0 kernel/softirq.c:388 softirqs last enabled at (1006): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (1006): [] __release_sock+0xac/0x460 net/core/sock.c:3004 softirqs last disabled at (1004): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (1004): [] release_sock+0x2f/0x1c0 net/core/sock.c:3548 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(slock-AF_PHONET/1); lock(slock-AF_PHONET/1); *** DEADLOCK *** 1 lock held by syz.4.943/11231: #0: ffff88807e05a6b0 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1780 [inline] #0: ffff88807e05a6b0 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: pep_sock_accept+0xfe/0x12d0 net/phonet/pep.c:780 stack backtrace: CPU: 1 PID: 11231 Comm: syz.4.943 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:4013 mark_lock_irq+0xad/0x900 kernel/locking/lockdep.c:4216 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4678 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x11c7/0x7d40 kernel/locking/lockdep.c:5091 lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 _raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378 __sk_receive_skb+0x180/0x990 net/core/sock.c:564 sk_receive_skb include/net/sock.h:2071 [inline] pep_do_rcv+0x682/0xa90 net/phonet/pep.c:675 sk_backlog_rcv include/net/sock.h:1142 [inline] __release_sock+0x1e5/0x460 net/core/sock.c:3011 release_sock+0x5f/0x1c0 net/core/sock.c:3550 pep_sock_accept+0xd58/0x12d0 net/phonet/pep.c:879 pn_socket_accept+0x12a/0x370 net/phonet/socket.c:304 do_accept+0x4d8/0x6c0 net/socket.c:1937 __sys_accept4_file net/socket.c:1977 [inline] __sys_accept4+0x9b/0x100 net/socket.c:2007 __do_sys_accept net/socket.c:2024 [inline] __se_sys_accept net/socket.c:2021 [inline] __x64_sys_accept+0x7d/0x90 net/socket.c:2021 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f85b3d9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f85b4b80028 EFLAGS: 00000246 ORIG_RAX: 000000000000002b RAX: ffffffffffffffda RBX: 00007f85b4015fa0 RCX: 00007f85b3d9ce59 RDX: 00002000000000c0 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f85b3e32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f85b4016038 R14: 00007f85b4015fa0 R15: 00007ffe1404a5f8