================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L Y -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.3.2543/17771 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888079270260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] ffff888079270260 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1775 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 lock_sock_nested+0x41/0x100 net/core/sock.c:3837 lock_sock include/net/sock.h:1713 [inline] x25_ioctl+0x9ba/0xff0 net/x25/af_x25.c:1447 sock_do_ioctl+0x101/0x320 net/socket.c:1325 sock_ioctl+0x57a/0x7e0 net/socket.c:1446 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 150980 hardirqs last enabled at (150980): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (150979): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (150902): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last enabled at (150902): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last enabled at (150902): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 softirqs last disabled at (150909): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (150909): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (150909): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 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.2543/17771: 2, last CPU#1: #0: ffff888049301f70 (&u->iolock){+.+.}-{4:4}, at: __unix_dgram_recvmsg+0x1e3/0xd70 net/unix/af_unix.c:2587 #1: ffffffff8ed5c2a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffffff8ed5c2a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffffff8ed5c2a0 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6289 stack backtrace: CPU: 1 UID: 0 PID: 17771 Comm: syz.3.2543 Tainted: G L Y syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP, [Y]=FORCED_BIND Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28c/0x2e0 kernel/locking/lockdep.c:4086 valid_state+0xbe/0xf0 kernel/locking/lockdep.c:4100 mark_lock_irq+0x36/0x380 kernel/locking/lockdep.c:4311 mark_lock+0x117/0x190 kernel/locking/lockdep.c:4797 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x71e/0x2de0 kernel/locking/lockdep.c:5242 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 lock_sock_nested+0x41/0x100 net/core/sock.c:3837 lock_sock include/net/sock.h:1713 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1775 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6265 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6290 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7798 napi_poll net/core/dev.c:7861 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8018 handle_softirqs+0x223/0x840 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 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:skb_copy_datagram_iter+0xba/0x240 net/core/datagram.c:534 Code: 96 16 f8 eb 05 e8 f6 96 16 f8 4c 89 ff 89 ee 4c 89 f2 89 d9 45 31 c0 49 c7 c1 00 3f b2 89 6a 00 e8 bb f4 ff ff 48 83 c4 08 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 c2 96 16 f8 90 0f RSP: 0018:ffffc900055f76f0 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88807ff88000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff89b23f00 R10: dffffc0000000000 R11: fffffbfff20f4678 R12: 0000000000000001 R13: 0000000000000001 R14: ffffc900055f7d10 R15: ffff8880552013c0 skb_copy_datagram_msg include/linux/skbuff.h:4256 [inline] __unix_dgram_recvmsg+0x664/0xd70 net/unix/af_unix.c:2632 sock_recvmsg_nosec+0x130/0x170 net/socket.c:1151 ____sys_recvmsg+0x3e3/0x4a0 net/socket.c:2930 ___sys_recvmsg+0x213/0x5a0 net/socket.c:2974 do_recvmmsg+0x31a/0x7f0 net/socket.c:3069 __sys_recvmmsg net/socket.c:3143 [inline] __do_sys_recvmmsg net/socket.c:3166 [inline] __se_sys_recvmmsg net/socket.c:3159 [inline] __x64_sys_recvmmsg+0x198/0x250 net/socket.c:3159 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce1719e159 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:00007fce153b4028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fce17426270 RCX: 00007fce1719e159 RDX: 0000000004000087 RSI: 00002000000000c0 RDI: 0000000000000009 RBP: 00007fce1723506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fce17426308 R14: 00007fce17426270 R15: 00007ffc343f3818 BUG: sleeping function called from invalid context at net/core/sock.c:3839 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 17771, name: syz.3.2543 preempt_count: 100, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:486 [inline] [] handle_softirqs+0xab/0x840 kernel/softirq.c:621 CPU: 1 UID: 0 PID: 17771 Comm: syz.3.2543 Tainted: G L Y syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP, [Y]=FORCED_BIND Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x36a/0x4c0 kernel/sched/core.c:9113 lock_sock_nested+0x56/0x100 net/core/sock.c:3839 lock_sock include/net/sock.h:1713 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1775 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6265 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6290 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7798 napi_poll net/core/dev.c:7861 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8018 handle_softirqs+0x223/0x840 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 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:skb_copy_datagram_iter+0xba/0x240 net/core/datagram.c:534 Code: 96 16 f8 eb 05 e8 f6 96 16 f8 4c 89 ff 89 ee 4c 89 f2 89 d9 45 31 c0 49 c7 c1 00 3f b2 89 6a 00 e8 bb f4 ff ff 48 83 c4 08 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 c2 96 16 f8 90 0f RSP: 0018:ffffc900055f76f0 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88807ff88000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff89b23f00 R10: dffffc0000000000 R11: fffffbfff20f4678 R12: 0000000000000001 R13: 0000000000000001 R14: ffffc900055f7d10 R15: ffff8880552013c0 skb_copy_datagram_msg include/linux/skbuff.h:4256 [inline] __unix_dgram_recvmsg+0x664/0xd70 net/unix/af_unix.c:2632 sock_recvmsg_nosec+0x130/0x170 net/socket.c:1151 ____sys_recvmsg+0x3e3/0x4a0 net/socket.c:2930 ___sys_recvmsg+0x213/0x5a0 net/socket.c:2974 do_recvmmsg+0x31a/0x7f0 net/socket.c:3069 __sys_recvmmsg net/socket.c:3143 [inline] __do_sys_recvmmsg net/socket.c:3166 [inline] __se_sys_recvmmsg net/socket.c:3159 [inline] __x64_sys_recvmmsg+0x198/0x250 net/socket.c:3159 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce1719e159 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:00007fce153b4028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fce17426270 RCX: 00007fce1719e159 RDX: 0000000004000087 RSI: 00002000000000c0 RDI: 0000000000000009 RBP: 00007fce1723506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fce17426308 R14: 00007fce17426270 R15: 00007ffc343f3818 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: f8 clc 1: eb 05 jmp 0x8 3: e8 f6 96 16 f8 call 0xf81696fe 8: 4c 89 ff mov %r15,%rdi b: 89 ee mov %ebp,%esi d: 4c 89 f2 mov %r14,%rdx 10: 89 d9 mov %ebx,%ecx 12: 45 31 c0 xor %r8d,%r8d 15: 49 c7 c1 00 3f b2 89 mov $0xffffffff89b23f00,%r9 1c: 6a 00 push $0x0 1e: e8 bb f4 ff ff call 0xfffff4de 23: 48 83 c4 08 add $0x8,%rsp 27: 5b pop %rbx * 28: 41 5c pop %r12 <-- trapping instruction 2a: 41 5d pop %r13 2c: 41 5e pop %r14 2e: 41 5f pop %r15 30: 5d pop %rbp 31: c3 ret 32: cc int3 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: e8 c2 96 16 f8 call 0xf81696fe 3c: 90 nop 3d: 0f .byte 0xf