================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. syz.0.1847/11885 [HC0[0]:SC0[0]:HE1:SE1] takes: ffff888029a206f0 (slock-AF_PHONET/1){+.?.}-{2:2}, at: __sk_receive_skb+0x17c/0x980 net/core/sock.c:560 {IN-SOFTIRQ-W} state was registered at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 _raw_spin_lock_nested+0x2e/0x40 kernel/locking/spinlock.c:378 __sk_receive_skb+0x17c/0x980 net/core/sock.c:560 sk_backlog_rcv include/net/sock.h:1138 [inline] __sk_receive_skb+0x432/0x980 net/core/sock.c:569 sk_receive_skb include/net/sock.h:2097 [inline] phonet_rcv+0x7c5/0xca0 net/phonet/af_phonet.c:405 __netif_receive_skb_one_core net/core/dev.c:5619 [inline] __netif_receive_skb+0xcc/0x290 net/core/dev.c:5733 process_backlog+0x38d/0x6f0 net/core/dev.c:6061 __napi_poll+0xc0/0x460 net/core/dev.c:6628 napi_poll net/core/dev.c:6695 [inline] net_rx_action+0x5dd/0xb20 net/core/dev.c:6809 handle_softirqs+0x2a1/0x930 kernel/softirq.c:596 do_softirq+0x142/0x210 kernel/softirq.c:497 __local_bh_enable_ip+0x180/0x1c0 kernel/softirq.c:421 local_bh_enable include/linux/bottom_half.h:33 [inline] netif_rx+0x7f/0x90 net/core/dev.c:5140 pn_send+0x553/0x7f0 net/phonet/af_phonet.c:185 pn_skb_send+0x214/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+0x16c7/0x1ec0 net/phonet/pep.c:587 sk_backlog_rcv include/net/sock.h:1138 [inline] __release_sock+0x1e1/0x450 net/core/sock.c:2945 release_sock+0x5b/0x1b0 net/core/sock.c:3511 pn_socket_connect+0x703/0xb90 net/phonet/socket.c:276 __sys_connect_file net/socket.c:2010 [inline] __sys_connect+0x3cb/0x450 net/socket.c:2027 __do_sys_connect net/socket.c:2037 [inline] __se_sys_connect net/socket.c:2034 [inline] __x64_sys_connect+0x76/0x80 net/socket.c:2034 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 irq event stamp: 303 hardirqs last enabled at (303): [] __local_bh_enable_ip+0x136/0x1c0 kernel/softirq.c:426 hardirqs last disabled at (301): [] __local_bh_enable_ip+0xd7/0x1c0 kernel/softirq.c:403 softirqs last enabled at (302): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (302): [] __release_sock+0xa8/0x450 net/core/sock.c:2938 softirqs last disabled at (300): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (300): [] release_sock+0x2b/0x1b0 net/core/sock.c:3509 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.0.1847/11885: #0: ffff88805c80b330 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1805 [inline] #0: ffff88805c80b330 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: pep_sock_accept+0xb3/0x1200 net/phonet/pep.c:780 stack backtrace: CPU: 1 PID: 11885 Comm: syz.0.1847 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3969 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4172 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4628 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xd5c/0x7d10 kernel/locking/lockdep.c:5003 lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 _raw_spin_lock_nested+0x2e/0x40 kernel/locking/spinlock.c:378 __sk_receive_skb+0x17c/0x980 net/core/sock.c:560 sk_backlog_rcv include/net/sock.h:1138 [inline] __release_sock+0x1e1/0x450 net/core/sock.c:2945 release_sock+0x5b/0x1b0 net/core/sock.c:3511 pep_sock_accept+0xcb1/0x1200 net/phonet/pep.c:879 pn_socket_accept+0x126/0x360 net/phonet/socket.c:304 do_accept+0x509/0x6f0 net/socket.c:1890 __sys_accept4_file net/socket.c:1931 [inline] __sys_accept4+0x97/0x100 net/socket.c:1961 __do_sys_accept net/socket.c:1978 [inline] __se_sys_accept net/socket.c:1975 [inline] __x64_sys_accept+0x79/0x90 net/socket.c:1975 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd667b9ce59 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:00007fd668ae3028 EFLAGS: 00000246 ORIG_RAX: 000000000000002b RAX: ffffffffffffffda RBX: 00007fd667e15fa0 RCX: 00007fd667b9ce59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fd667c32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd667e16038 R14: 00007fd667e15fa0 R15: 00007ffff2f61028