================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. strace-static-x/5626 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888028c2c260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] ffff888028c2c260 (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+0x106/0x350 kernel/locking/lockdep.c:5868 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:1920 [inline] __sys_bind+0x2e3/0x410 net/socket.c:1951 __do_sys_bind net/socket.c:1956 [inline] __se_sys_bind net/socket.c:1954 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1954 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 1211648 hardirqs last enabled at (1211648): [] __local_bh_enable_ip+0xd0/0x130 kernel/softirq.c:455 hardirqs last disabled at (1211647): [] __local_bh_enable_ip+0x71/0x130 kernel/softirq.c:432 softirqs last enabled at (1198812): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (1198812): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (1198812): [] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 softirqs last disabled at (1211467): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (1211467): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (1211467): [] __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 *** 1 lock held by strace-static-x/5626: #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6240 stack backtrace: CPU: 1 UID: 0 PID: 5626 Comm: strace-static-x 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:4042 valid_state kernel/locking/lockdep.c:4056 [inline] mark_lock_irq+0x410/0x420 kernel/locking/lockdep.c:-1 mark_lock+0x115/0x190 kernel/locking/lockdep.c:4753 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x65c/0x2cf0 kernel/locking/lockdep.c:5191 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 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:6216 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6241 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7739 napi_poll net/core/dev.c:7802 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:7959 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:finish_task_switch+0x417/0xc60 kernel/sched/core.c:5361 Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 53 ac 3f 0a e8 6e aa 39 00 fb 4c 8b 65 c8 <49> 8d bc 24 f8 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0018:ffffc90003a47940 EFLAGS: 00000202 RAX: 0000000000127c49 RBX: ffff8880b873bf20 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8e22ccb4 RDI: ffffffff8c4bbf80 RBP: ffffc90003a47990 R08: ffffffff90578f37 R09: 1ffffffff20af1e6 R10: dffffc0000000000 R11: fffffbfff20af1e7 R12: ffff88807fbf8000 R13: ffff8880b873bef8 R14: dffffc0000000000 R15: 1ffff110170e77e4 context_switch kernel/sched/core.c:5513 [inline] __schedule+0x17e1/0x56c0 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7326 do_wait+0x283/0x510 kernel/exit.c:1761 kernel_wait4+0x232/0x2b0 kernel/exit.c:1915 __do_sys_wait4 kernel/exit.c:1943 [inline] __se_sys_wait4 kernel/exit.c:1939 [inline] __x64_sys_wait4+0x166/0x240 kernel/exit.c:1939 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x518762 Code: 18 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 75 1a 83 e2 39 83 fa 08 75 12 e8 2b ff ff ff 0f 1f 00 49 89 ca 48 8b 44 24 20 0f 05 <48> 83 c4 18 c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 10 ff 74 24 18 RSP: 002b:00007fffce1ed780 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000518762 RDX: 0000000040000000 RSI: 00007fffce1ed7e0 RDI: ffffffffffffffff RBP: 000000001cc7de80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000676170 R14: 00007fffce1ed7e0 R15: 000000001cc83780 BUG: sleeping function called from invalid context at net/core/sock.c:3829 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5626, name: strace-static-x 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:7310 [inline] [] schedule+0x15d/0x2b0 kernel/sched/core.c:7326 CPU: 1 UID: 0 PID: 5626 Comm: strace-static-x 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:9197 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:6216 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6241 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7739 napi_poll net/core/dev.c:7802 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:7959 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:finish_task_switch+0x417/0xc60 kernel/sched/core.c:5361 Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 53 ac 3f 0a e8 6e aa 39 00 fb 4c 8b 65 c8 <49> 8d bc 24 f8 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0018:ffffc90003a47940 EFLAGS: 00000202 RAX: 0000000000127c49 RBX: ffff8880b873bf20 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8e22ccb4 RDI: ffffffff8c4bbf80 RBP: ffffc90003a47990 R08: ffffffff90578f37 R09: 1ffffffff20af1e6 R10: dffffc0000000000 R11: fffffbfff20af1e7 R12: ffff88807fbf8000 R13: ffff8880b873bef8 R14: dffffc0000000000 R15: 1ffff110170e77e4 context_switch kernel/sched/core.c:5513 [inline] __schedule+0x17e1/0x56c0 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7326 do_wait+0x283/0x510 kernel/exit.c:1761 kernel_wait4+0x232/0x2b0 kernel/exit.c:1915 __do_sys_wait4 kernel/exit.c:1943 [inline] __se_sys_wait4 kernel/exit.c:1939 [inline] __x64_sys_wait4+0x166/0x240 kernel/exit.c:1939 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x518762 Code: 18 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 75 1a 83 e2 39 83 fa 08 75 12 e8 2b ff ff ff 0f 1f 00 49 89 ca 48 8b 44 24 20 0f 05 <48> 83 c4 18 c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 10 ff 74 24 18 RSP: 002b:00007fffce1ed780 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000518762 RDX: 0000000040000000 RSI: 00007fffce1ed7e0 RDI: ffffffffffffffff RBP: 000000001cc7de80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000676170 R14: 00007fffce1ed7e0 R15: 000000001cc83780 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 41 c7 84 24 20 0e 00 movl $0x0,0xe20(%r12) 9: 00 00 00 00 00 e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 13: 49 83 c4 48 add $0x48,%r12 17: 4c 89 e7 mov %r12,%rdi 1a: e8 53 ac 3f 0a call 0xa3fac72 1f: e8 6e aa 39 00 call 0x39aa92 24: fb sti 25: 4c 8b 65 c8 mov -0x38(%rbp),%r12 * 29: 49 8d bc 24 f8 16 00 lea 0x16f8(%r12),%rdi <-- trapping instruction 30: 00 31: 48 89 f8 mov %rdi,%rax 34: 48 c1 e8 03 shr $0x3,%rax 38: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 3d: 84 c0 test %al,%al