================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor/5615 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888052374260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] ffff888052374260 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1778 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5908 lock_sock_nested+0x41/0x100 net/core/sock.c:3827 lock_sock include/net/sock.h:1713 [inline] x25_bind+0x209/0x450 net/x25/af_x25.c:694 __sys_bind_socket net/socket.c:1945 [inline] __sys_bind+0x2e3/0x410 net/socket.c:1976 __do_sys_bind net/socket.c:1981 [inline] __se_sys_bind net/socket.c:1979 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1979 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x510 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 788596 hardirqs last enabled at (788596): [] __local_bh_enable_ip+0xd0/0x130 kernel/softirq.c:455 hardirqs last disabled at (788595): [] __local_bh_enable_ip+0x71/0x130 kernel/softirq.c:432 softirqs last enabled at (787416): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (787416): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (787416): [] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 softirqs last disabled at (788393): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (788393): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (788393): [] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(sk_lock-AF_X25); lock(sk_lock-AF_X25); *** DEADLOCK *** locks held by syz-executor/5615: 3, last CPU#1: #0: ffffffff8f2e41f8 (tomoyo_ss){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline] #0: ffffffff8f2e41f8 (tomoyo_ss){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:305 [inline] #0: ffffffff8f2e41f8 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_read_lock security/tomoyo/common.h:1112 [inline] #0: ffffffff8f2e41f8 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_path_perm+0x251/0x560 security/tomoyo/file.c:826 #1: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: prepend_path+0x4d/0x840 fs/d_path.c:164 #2: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #2: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6265 stack backtrace: CPU: 1 UID: 0 PID: 5615 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28b/0x2e0 kernel/locking/lockdep.c:4058 valid_state+0xbe/0xf0 kernel/locking/lockdep.c:4072 mark_lock_irq+0x36/0x380 kernel/locking/lockdep.c:4283 mark_lock+0x117/0x190 kernel/locking/lockdep.c:4769 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x6b7/0x2e50 kernel/locking/lockdep.c:5208 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5908 lock_sock_nested+0x41/0x100 net/core/sock.c:3827 lock_sock include/net/sock.h:1713 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1778 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6241 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6266 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7764 napi_poll net/core/dev.c:7827 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:7984 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:do___read_seqcount_retry include/linux/seqlock.h:392 [inline] RIP: 0010:do_read_seqcount_retry include/linux/seqlock.h:412 [inline] RIP: 0010:read_seqretry include/linux/seqlock.h:855 [inline] RIP: 0010:need_seqretry include/linux/seqlock.h:1165 [inline] RIP: 0010:prepend_path+0x4d6/0x840 fs/d_path.c:175 Code: 47 ff 48 c7 c7 a0 c6 b5 8e 48 8b 74 24 10 e8 b1 67 47 ff e8 cc 1c 51 ff 48 8b 44 24 38 42 0f b6 04 30 84 c0 0f 85 ec 00 00 00 <8b> 05 e4 91 25 0c 3b 44 24 04 0f 84 1b 01 00 00 e8 15 ce 6b ff ba RSP: 0018:ffffc90003a7f7c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000046 RDX: 0000000000000000 RSI: ffffffff8e4d9480 RDI: ffff8880358f3e80 RBP: ffffc90003a7f890 R08: ffffffff9058fb7f R09: 1ffffffff20b1f6f R10: dffffc0000000000 R11: fffffbfff20b1f70 R12: ffffc90003a7f890 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000000 d_absolute_path+0xa1/0x140 fs/d_path.c:234 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x30d/0x640 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x283/0x560 security/tomoyo/file.c:827 security_inode_getattr+0x12b/0x310 security/security.c:1895 vfs_getattr+0x23/0x70 fs/stat.c:259 vfs_statx_path+0x2b/0x230 fs/stat.c:299 vfs_statx+0x12e/0x200 fs/stat.c:356 vfs_fstatat+0x11b/0x170 fs/stat.c:373 __do_sys_newfstatat fs/stat.c:538 [inline] __se_sys_newfstatat fs/stat.c:532 [inline] __x64_sys_newfstatat+0x151/0x200 fs/stat.c:532 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x510 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe8b719c71a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 c7 c2 e8 ff ff ff f7 RSP: 002b:00007fff63d8fbf8 EFLAGS: 00000286 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe8b719c71a RDX: 00007fff63d8fc20 RSI: 00007fff63d8fcb0 RDI: 00000000ffffff9c RBP: 00007fff63d8fcb0 R08: 00007fff63d90cb0 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000286 R12: 00007fff63d90d40 R13: 00007fe8b7234474 R14: 000000000002365c R15: 00007fff63d90d80 BUG: sleeping function called from invalid context at net/core/sock.c:3829 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5615, name: syz-executor preempt_count: 100, expected: 0 RCU nest depth: 2, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:463 [inline] [] handle_softirqs+0xab/0x840 kernel/softirq.c:598 CPU: 1 UID: 0 PID: 5615 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x378/0x4d0 kernel/sched/core.c:9195 lock_sock_nested+0x56/0x100 net/core/sock.c:3829 lock_sock include/net/sock.h:1713 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1778 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6241 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6266 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7764 napi_poll net/core/dev.c:7827 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:7984 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:do___read_seqcount_retry include/linux/seqlock.h:392 [inline] RIP: 0010:do_read_seqcount_retry include/linux/seqlock.h:412 [inline] RIP: 0010:read_seqretry include/linux/seqlock.h:855 [inline] RIP: 0010:need_seqretry include/linux/seqlock.h:1165 [inline] RIP: 0010:prepend_path+0x4d6/0x840 fs/d_path.c:175 Code: 47 ff 48 c7 c7 a0 c6 b5 8e 48 8b 74 24 10 e8 b1 67 47 ff e8 cc 1c 51 ff 48 8b 44 24 38 42 0f b6 04 30 84 c0 0f 85 ec 00 00 00 <8b> 05 e4 91 25 0c 3b 44 24 04 0f 84 1b 01 00 00 e8 15 ce 6b ff ba RSP: 0018:ffffc90003a7f7c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000046 RDX: 0000000000000000 RSI: ffffffff8e4d9480 RDI: ffff8880358f3e80 RBP: ffffc90003a7f890 R08: ffffffff9058fb7f R09: 1ffffffff20b1f6f R10: dffffc0000000000 R11: fffffbfff20b1f70 R12: ffffc90003a7f890 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000000 d_absolute_path+0xa1/0x140 fs/d_path.c:234 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x30d/0x640 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x283/0x560 security/tomoyo/file.c:827 security_inode_getattr+0x12b/0x310 security/security.c:1895 vfs_getattr+0x23/0x70 fs/stat.c:259 vfs_statx_path+0x2b/0x230 fs/stat.c:299 vfs_statx+0x12e/0x200 fs/stat.c:356 vfs_fstatat+0x11b/0x170 fs/stat.c:373 __do_sys_newfstatat fs/stat.c:538 [inline] __se_sys_newfstatat fs/stat.c:532 [inline] __x64_sys_newfstatat+0x151/0x200 fs/stat.c:532 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x510 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe8b719c71a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 c7 c2 e8 ff ff ff f7 RSP: 002b:00007fff63d8fbf8 EFLAGS: 00000286 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe8b719c71a RDX: 00007fff63d8fc20 RSI: 00007fff63d8fcb0 RDI: 00000000ffffff9c RBP: 00007fff63d8fcb0 R08: 00007fff63d90cb0 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000286 R12: 00007fff63d90d40 R13: 00007fe8b7234474 R14: 000000000002365c R15: 00007fff63d90d80 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 48 c7 c7 a0 c6 b5 8e mov $0xffffffff8eb5c6a0,%rdi 7: 48 8b 74 24 10 mov 0x10(%rsp),%rsi c: e8 b1 67 47 ff call 0xff4767c2 11: e8 cc 1c 51 ff call 0xff511ce2 16: 48 8b 44 24 38 mov 0x38(%rsp),%rax 1b: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 20: 84 c0 test %al,%al 22: 0f 85 ec 00 00 00 jne 0x114 * 28: 8b 05 e4 91 25 0c mov 0xc2591e4(%rip),%eax # 0xc259212 <-- trapping instruction 2e: 3b 44 24 04 cmp 0x4(%rsp),%eax 32: 0f 84 1b 01 00 00 je 0x153 38: e8 15 ce 6b ff call 0xff6bce52 3d: ba .byte 0xba