================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. syz.1.2471/14894 [HC0[0]:SC0[0]:HE1:SE1] takes: ffff88802a4e99a0 (slock-AF_PHONET/1){+.?.}-{2:2}, at: __sk_receive_skb+0x17b/0x980 net/core/sock.c:517 {IN-SOFTIRQ-W} state was registered at: lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 _raw_spin_lock_nested+0x2e/0x40 kernel/locking/spinlock.c:368 __sk_receive_skb+0x17b/0x980 net/core/sock.c:517 sk_backlog_rcv include/net/sock.h:1080 [inline] __sk_receive_skb+0x42c/0x980 net/core/sock.c:526 sk_receive_skb include/net/sock.h:2001 [inline] phonet_rcv+0x7e4/0xc70 net/phonet/af_phonet.c:405 __netif_receive_skb_one_core net/core/dev.c:5551 [inline] __netif_receive_skb+0xcc/0x290 net/core/dev.c:5665 process_backlog+0x370/0x790 net/core/dev.c:6542 __napi_poll+0xc0/0x430 net/core/dev.c:7101 napi_poll net/core/dev.c:7168 [inline] net_rx_action+0x4d4/0xa10 net/core/dev.c:7258 handle_softirqs+0x339/0x830 kernel/softirq.c:576 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 smpboot_thread_fn+0x4f6/0x970 kernel/smpboot.c:164 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 irq event stamp: 443 hardirqs last enabled at (443): [] __local_bh_enable_ip+0x136/0x1c0 kernel/softirq.c:406 hardirqs last disabled at (441): [] __local_bh_enable_ip+0xd7/0x1c0 kernel/softirq.c:383 softirqs last enabled at (442): [] spin_unlock_bh include/linux/spinlock.h:409 [inline] softirqs last enabled at (442): [] __release_sock+0xa8/0x450 net/core/sock.c:2724 softirqs last disabled at (440): [] spin_lock_bh include/linux/spinlock.h:369 [inline] softirqs last disabled at (440): [] release_sock+0x2b/0x1b0 net/core/sock.c:3272 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.1.2471/14894: #0: ffff88807bc96520 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1744 [inline] #0: ffff88807bc96520 (sk_lock-AF_PHONET){+.+.}-{0:0}, at: pep_sock_accept+0xb5/0x1190 net/phonet/pep.c:779 stack backtrace: CPU: 1 PID: 14894 Comm: syz.1.2471 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3932 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4135 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4591 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xd47/0x7d10 kernel/locking/lockdep.c:4966 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 _raw_spin_lock_nested+0x2e/0x40 kernel/locking/spinlock.c:368 __sk_receive_skb+0x17b/0x980 net/core/sock.c:517 sk_backlog_rcv include/net/sock.h:1080 [inline] __release_sock+0x1e1/0x450 net/core/sock.c:2731 release_sock+0x5b/0x1b0 net/core/sock.c:3274 pep_sock_accept+0xc73/0x1190 net/phonet/pep.c:878 pn_socket_accept+0x126/0x360 net/phonet/socket.c:304 do_accept+0x509/0x6f0 net/socket.c:1809 __sys_accept4_file net/socket.c:1852 [inline] __sys_accept4+0x103/0x170 net/socket.c:1882 __do_sys_accept4 net/socket.c:1894 [inline] __se_sys_accept4 net/socket.c:1891 [inline] __x64_sys_accept4+0x96/0xb0 net/socket.c:1891 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f66d384edd9 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:00007f66d1a87028 EFLAGS: 00000246 ORIG_RAX: 0000000000000120 RAX: ffffffffffffffda RBX: 00007f66d3ac8090 RCX: 00007f66d384edd9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 00007f66d38e4d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000080000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f66d3ac8128 R14: 00007f66d3ac8090 R15: 00007fff67b2aa88