================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.3.1038/9743 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888026456260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] ffff888026456260 (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: 18880 hardirqs last enabled at (18880): [] __local_bh_enable_ip+0xd0/0x130 kernel/softirq.c:455 hardirqs last disabled at (18879): [] __local_bh_enable_ip+0x71/0x130 kernel/softirq.c:432 softirqs last enabled at (18510): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (18510): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (18510): [] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 softirqs last disabled at (18513): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (18513): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (18513): [] __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.3.1038/9743: 1, last CPU#0: #0: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8eb5c6a0 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6265 stack backtrace: CPU: 0 UID: 0 PID: 9743 Comm: syz.3.1038 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_call_function_single arch/x86/kernel/smp.c:267 [inline] sysvec_call_function_single+0xa3/0xc0 arch/x86/kernel/smp.c:267 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:native_irq_enable arch/x86/include/asm/irqflags.h:-1 [inline] RIP: 0010:arch_local_irq_enable arch/x86/include/asm/irqflags.h:119 [inline] RIP: 0010:raw_spin_rq_unlock_irq kernel/sched/sched.h:1695 [inline] RIP: 0010:__schedule+0x20f7/0x59a0 kernel/sched/core.c:7237 Code: 89 ff e8 1c b3 ba f5 48 8b 9c 24 a8 00 00 00 e9 33 2f 00 00 49 83 c7 48 4c 89 ff e8 93 c0 01 00 e8 de 90 f3 f5 fb 4c 8b 24 24 36 fa ff ff 90 0f 0b 90 41 f7 c4 01 01 00 00 0f 85 4e e8 ff ff RSP: 0018:ffffc90005cff9e0 EFLAGS: 00000202 RAX: 0000000000004829 RBX: 1ffff92000b9ff60 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8e253559 RDI: ffffffff8c4c7680 RBP: ffffc90005cffbd8 R08: ffffffff9058fb7f R09: 1ffffffff20b1f6f R10: dffffc0000000000 R11: fffffbfff20b1f70 R12: ffff88802e9eddc0 R13: dffffc0000000000 R14: ffff88802e9eddc0 R15: ffff8880b863bc88 __schedule_loop kernel/sched/core.c:7309 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7324 do_nanosleep+0x21e/0x6a0 kernel/time/hrtimer.c:2426 hrtimer_nanosleep+0x18f/0x3a0 kernel/time/hrtimer.c:2472 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1406 [inline] __se_sys_clock_nanosleep+0x35b/0x3b0 kernel/time/posix-timers.c:1383 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:0x7f9a8b55e90e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffeb431c1c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000555581505500 RCX: 00007f9a8b55e90e RDX: 00007ffeb431c220 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f9a8b827da0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000623f5 R13: 00007f9a8b82609c R14: 0000000000062282 R15: 00007ffeb431c350 BUG: sleeping function called from invalid context at net/core/sock.c:3829 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 9743, name: syz.3.1038 preempt_count: 101, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] __schedule_loop kernel/sched/core.c:7308 [inline] [] schedule+0x15d/0x2b0 kernel/sched/core.c:7324 CPU: 0 UID: 0 PID: 9743 Comm: syz.3.1038 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_call_function_single arch/x86/kernel/smp.c:267 [inline] sysvec_call_function_single+0xa3/0xc0 arch/x86/kernel/smp.c:267 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:native_irq_enable arch/x86/include/asm/irqflags.h:-1 [inline] RIP: 0010:arch_local_irq_enable arch/x86/include/asm/irqflags.h:119 [inline] RIP: 0010:raw_spin_rq_unlock_irq kernel/sched/sched.h:1695 [inline] RIP: 0010:__schedule+0x20f7/0x59a0 kernel/sched/core.c:7237 Code: 89 ff e8 1c b3 ba f5 48 8b 9c 24 a8 00 00 00 e9 33 2f 00 00 49 83 c7 48 4c 89 ff e8 93 c0 01 00 e8 de 90 f3 f5 fb 4c 8b 24 24 36 fa ff ff 90 0f 0b 90 41 f7 c4 01 01 00 00 0f 85 4e e8 ff ff RSP: 0018:ffffc90005cff9e0 EFLAGS: 00000202 RAX: 0000000000004829 RBX: 1ffff92000b9ff60 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8e253559 RDI: ffffffff8c4c7680 RBP: ffffc90005cffbd8 R08: ffffffff9058fb7f R09: 1ffffffff20b1f6f R10: dffffc0000000000 R11: fffffbfff20b1f70 R12: ffff88802e9eddc0 R13: dffffc0000000000 R14: ffff88802e9eddc0 R15: ffff8880b863bc88 __schedule_loop kernel/sched/core.c:7309 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7324 do_nanosleep+0x21e/0x6a0 kernel/time/hrtimer.c:2426 hrtimer_nanosleep+0x18f/0x3a0 kernel/time/hrtimer.c:2472 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1406 [inline] __se_sys_clock_nanosleep+0x35b/0x3b0 kernel/time/posix-timers.c:1383 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:0x7f9a8b55e90e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffeb431c1c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000555581505500 RCX: 00007f9a8b55e90e RDX: 00007ffeb431c220 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f9a8b827da0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000623f5 R13: 00007f9a8b82609c R14: 0000000000062282 R15: 00007ffeb431c350 ---------------- Code disassembly (best guess): 0: 89 ff mov %edi,%edi 2: e8 1c b3 ba f5 call 0xf5bab323 7: 48 8b 9c 24 a8 00 00 mov 0xa8(%rsp),%rbx e: 00 f: e9 33 2f 00 00 jmp 0x2f47 14: 49 83 c7 48 add $0x48,%r15 18: 4c 89 ff mov %r15,%rdi 1b: e8 93 c0 01 00 call 0x1c0b3 20: e8 de 90 f3 f5 call 0xf5f39103 25: fb sti 26: 4c 8b 24 24 mov (%rsp),%r12 * 2a: e9 36 fa ff ff jmp 0xfffffa65 <-- trapping instruction 2f: 90 nop 30: 0f 0b ud2 32: 90 nop 33: 41 f7 c4 01 01 00 00 test $0x101,%r12d 3a: 0f 85 4e e8 ff ff jne 0xffffe88e