================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. dhcpcd-run-hook/19378 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888069bc2130 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1780 [inline] ffff888069bc2130 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1782 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 lock_sock_nested+0x48/0x100 net/core/sock.c:3544 lock_sock include/net/sock.h:1780 [inline] x25_bind+0x20a/0x460 net/x25/af_x25.c:698 __sys_bind+0x2f0/0x3f0 net/socket.c:1856 __do_sys_bind net/socket.c:1867 [inline] __se_sys_bind net/socket.c:1865 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1865 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 irq event stamp: 1376 hardirqs last enabled at (1376): [] __local_bh_enable_ip+0x13a/0x1c0 kernel/softirq.c:411 hardirqs last disabled at (1375): [] __local_bh_enable_ip+0xdb/0x1c0 kernel/softirq.c:388 softirqs last enabled at (1014): [] __do_softirq kernel/softirq.c:612 [inline] softirqs last enabled at (1014): [] invoke_softirq kernel/softirq.c:452 [inline] softirqs last enabled at (1014): [] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 softirqs last disabled at (1099): [] __do_softirq kernel/softirq.c:612 [inline] softirqs last disabled at (1099): [] invoke_softirq kernel/softirq.c:452 [inline] softirqs last disabled at (1099): [] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(sk_lock-AF_X25); lock(sk_lock-AF_X25); *** DEADLOCK *** 2 locks held by dhcpcd-run-hook/19378: #0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: vma_end_read+0x18/0x170 include/linux/mm.h:692 #1: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #1: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #1: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb_core+0x34/0x230 net/core/dev.c:5670 stack backtrace: CPU: 0 PID: 19378 Comm: dhcpcd-run-hook Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:4013 mark_lock_irq+0xad/0x900 kernel/locking/lockdep.c:4216 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4678 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xcfc/0x7d80 kernel/locking/lockdep.c:5091 lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 lock_sock_nested+0x48/0x100 net/core/sock.c:3544 lock_sock include/net/sock.h:1780 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1782 x25_lapb_receive_frame+0x1a7/0xef0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5646 [inline] netif_receive_skb_core+0x16a/0x230 net/core/dev.c:5671 lapbeth_napi_poll+0x42/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x460 net/core/dev.c:6650 napi_poll net/core/dev.c:6717 [inline] net_rx_action+0x65f/0xcc0 net/core/dev.c:6853 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x63/0x290 mm/kasan/generic.c:187 Code: 00 49 89 ff 49 c1 ef 03 49 ba 00 00 00 00 00 fc ff df 4f 8d 1c 17 49 ff c8 4d 89 c1 49 c1 e9 03 48 bb 01 00 00 00 00 fc ff df <4d> 8d 34 19 4d 89 f4 4d 29 dc 49 83 fc 10 7f 29 4d 85 e4 0f 84 3d RSP: 0000:ffffc9000f0a7d48 EFLAGS: 00000a07 RAX: ffff888060348001 RBX: dffffc0000000001 RCX: ffffffff8167ee63 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000f0a7dc0 RBP: ffffc9000f0a7e38 R08: ffffc9000f0a7dc7 R09: 1ffff92001e14fb8 R10: dffffc0000000000 R11: fffff52001e14fb8 R12: 0000000000000001 R13: 1ffff92001e14fb4 R14: ffff8880212c70e0 R15: 1ffff92001e14fb8 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_long_try_cmpxchg include/linux/atomic/atomic-instrumented.h:4402 [inline] rwsem_clear_reader_owned kernel/locking/rwsem.c:213 [inline] __up_read+0x203/0x6b0 kernel/locking/rwsem.c:1346 vma_end_read+0xdd/0x170 include/linux/mm.h:693 do_user_addr_fault+0xb00/0x12d0 arch/x86/mm/fault.c:1324 handle_page_fault arch/x86/mm/fault.c:1463 [inline] exc_page_fault+0x64/0x100 arch/x86/mm/fault.c:1516 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7f2365596f20 Code: 18 85 c9 0f 85 09 03 00 00 83 ff 01 0f 84 78 01 00 00 83 ff 24 0f 87 6f 01 00 00 49 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 44 51 01 20 74 1c 66 0f 1f 84 00 00 00 00 00 48 0f be 53 01 48 RSP: 002b:00007ffde9e19d30 EFLAGS: 00010283 RAX: 0000000000000031 RBX: 000055eddf8b91af RCX: 00007f23656c38e0 RDX: 0000000000000031 RSI: 0000000000000000 RDI: 000000000000000a RBP: 0000000000000000 R08: 0000000000000001 R09: 00007f236571d3c0 R10: 0000000000000000 R11: 0000000000000001 R12: 000055eddf8b91af R13: 0000000000000000 R14: 0000000000000000 R15: 000055eddf8b6c30 BUG: sleeping function called from invalid context at net/core/sock.c:3546 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 19378, name: dhcpcd-run-hook preempt_count: 101, expected: 0 RCU nest depth: 2, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] __up_read+0x186/0x6b0 kernel/locking/rwsem.c:1345 CPU: 0 PID: 19378 Comm: dhcpcd-run-hook Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 __might_resched+0x48d/0x5f0 kernel/sched/core.c:10212 lock_sock_nested+0x5d/0x100 net/core/sock.c:3546 lock_sock include/net/sock.h:1780 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1782 x25_lapb_receive_frame+0x1a7/0xef0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5646 [inline] netif_receive_skb_core+0x16a/0x230 net/core/dev.c:5671 lapbeth_napi_poll+0x42/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x460 net/core/dev.c:6650 napi_poll net/core/dev.c:6717 [inline] net_rx_action+0x65f/0xcc0 net/core/dev.c:6853 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x63/0x290 mm/kasan/generic.c:187 Code: 00 49 89 ff 49 c1 ef 03 49 ba 00 00 00 00 00 fc ff df 4f 8d 1c 17 49 ff c8 4d 89 c1 49 c1 e9 03 48 bb 01 00 00 00 00 fc ff df <4d> 8d 34 19 4d 89 f4 4d 29 dc 49 83 fc 10 7f 29 4d 85 e4 0f 84 3d RSP: 0000:ffffc9000f0a7d48 EFLAGS: 00000a07 RAX: ffff888060348001 RBX: dffffc0000000001 RCX: ffffffff8167ee63 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000f0a7dc0 RBP: ffffc9000f0a7e38 R08: ffffc9000f0a7dc7 R09: 1ffff92001e14fb8 R10: dffffc0000000000 R11: fffff52001e14fb8 R12: 0000000000000001 R13: 1ffff92001e14fb4 R14: ffff8880212c70e0 R15: 1ffff92001e14fb8 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_long_try_cmpxchg include/linux/atomic/atomic-instrumented.h:4402 [inline] rwsem_clear_reader_owned kernel/locking/rwsem.c:213 [inline] __up_read+0x203/0x6b0 kernel/locking/rwsem.c:1346 vma_end_read+0xdd/0x170 include/linux/mm.h:693 do_user_addr_fault+0xb00/0x12d0 arch/x86/mm/fault.c:1324 handle_page_fault arch/x86/mm/fault.c:1463 [inline] exc_page_fault+0x64/0x100 arch/x86/mm/fault.c:1516 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7f2365596f20 Code: 18 85 c9 0f 85 09 03 00 00 83 ff 01 0f 84 78 01 00 00 83 ff 24 0f 87 6f 01 00 00 49 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 44 51 01 20 74 1c 66 0f 1f 84 00 00 00 00 00 48 0f be 53 01 48 RSP: 002b:00007ffde9e19d30 EFLAGS: 00010283 RAX: 0000000000000031 RBX: 000055eddf8b91af RCX: 00007f23656c38e0 RDX: 0000000000000031 RSI: 0000000000000000 RDI: 000000000000000a RBP: 0000000000000000 R08: 0000000000000001 R09: 00007f236571d3c0 R10: 0000000000000000 R11: 0000000000000001 R12: 000055eddf8b91af R13: 0000000000000000 R14: 0000000000000000 R15: 000055eddf8b6c30 ---------------- Code disassembly (best guess): 0: 00 49 89 add %cl,-0x77(%rcx) 3: ff 49 c1 decl -0x3f(%rcx) 6: ef out %eax,(%dx) 7: 03 49 ba add -0x46(%rcx),%ecx a: 00 00 add %al,(%rax) c: 00 00 add %al,(%rax) e: 00 fc add %bh,%ah 10: ff lcall (bad) 11: df 4f 8d fisttps -0x73(%rdi) 14: 1c 17 sbb $0x17,%al 16: 49 ff c8 dec %r8 19: 4d 89 c1 mov %r8,%r9 1c: 49 c1 e9 03 shr $0x3,%r9 20: 48 bb 01 00 00 00 00 movabs $0xdffffc0000000001,%rbx 27: fc ff df * 2a: 4d 8d 34 19 lea (%r9,%rbx,1),%r14 <-- trapping instruction 2e: 4d 89 f4 mov %r14,%r12 31: 4d 29 dc sub %r11,%r12 34: 49 83 fc 10 cmp $0x10,%r12 38: 7f 29 jg 0x63 3a: 4d 85 e4 test %r12,%r12 3d: 0f .byte 0xf 3e: 84 .byte 0x84 3f: 3d .byte 0x3d