================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.8.2704/15831 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff8880271b6260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] ffff8880271b6260 (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:5942 lock_sock_nested+0x41/0x100 net/core/sock.c:3837 lock_sock include/net/sock.h:1713 [inline] x25_release+0xa0/0x3d0 net/x25/af_x25.c:632 __sock_release+0xa0/0x1f0 net/socket.c:735 sock_close+0x1c/0x30 net/socket.c:1526 __fput+0x418/0xa50 fs/file_table.c:512 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 14904 hardirqs last enabled at (14904): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (14903): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (14760): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last enabled at (14760): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last enabled at (14760): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 softirqs last disabled at (14851): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (14851): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (14851): [] __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.8.2704/15831: 1, last CPU#0: #0: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6321 stack backtrace: CPU: 0 UID: 0 PID: 15831 Comm: syz.8.2704 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/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:1778 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6297 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6322 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7830 napi_poll net/core/dev.c:7893 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8050 handle_softirqs+0x226/0x860 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:finish_task_switch+0x413/0xc60 kernel/sched/core.c:5384 Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 e9 db 06 00 00 49 83 c4 48 4c 89 e7 e8 87 ae 53 0a e8 b2 2d 3a 00 fb 4c 8b 65 c8 <49> 8d bc 24 18 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0018:ffffc9000333fc60 EFLAGS: 00000202 RAX: 0000000000003a01 RBX: ffff8880b863c8e0 RCX: 8000000000000001 RDX: 0000000000000000 RSI: ffffffff8e4166b3 RDI: ffffffff8c6dad80 RBP: ffffc9000333fcb0 R08: ffffffff907a627f R09: 1ffffffff20f4c4f R10: dffffc0000000000 R11: fffffbfff20f4c50 R12: ffff888049ea1f40 R13: ffff8880b863c8a8 R14: dffffc0000000000 R15: 1ffff110170c791c context_switch kernel/sched/core.c:5536 [inline] __schedule+0x17e3/0x58f0 kernel/sched/core.c:7284 __schedule_loop kernel/sched/core.c:7361 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7376 __exit_to_user_mode_loop kernel/entry/common.c:55 [inline] exit_to_user_mode_loop kernel/entry/common.c:101 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:244 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:315 [inline] irqentry_exit+0x291/0x910 kernel/entry/common.c:165 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:679 RIP: 0033:0x7fdbcf46e4e0 Code: 0f 11 45 00 4c 89 e6 eb 09 90 48 8b 4b 08 48 83 c3 08 48 39 d1 72 f3 48 8d 46 f8 48 8b 76 f8 48 39 f2 73 13 66 0f 1f 44 00 00 <48> 8b 70 f8 48 83 e8 08 48 39 f2 72 f3 48 39 c3 73 3e 48 89 33 48 RSP: 002b:00007fff7a846ef0 EFLAGS: 00000287 RAX: 00007fdbcf38b368 RBX: 00007fdbcf366430 RCX: ffffffff8be1d0e1 RDX: ffffffff8be1d0a7 RSI: ffffffff8be1d0e1 RDI: 00007fdbcf372ce8 RBP: 00007fdbcf34f788 R08: 00007fdbcf810000 R09: 00007fdbcf826038 R10: 0000000000000001 R11: 0000000000000008 R12: 00007fdbcf396248 R13: 0000000000000020 R14: 0000000000008d58 R15: 0000000000000001 virtqueue callback for ffff888028877400 (ffffffff86bccee0) BUG: sleeping function called from invalid context at net/core/sock.c:3839 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 15831, name: syz.8.2704 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:7360 [inline] [] schedule+0x15d/0x2b0 kernel/sched/core.c:7376 CPU: 0 UID: 0 PID: 15831 Comm: syz.8.2704 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x36a/0x4c0 kernel/sched/core.c:9264 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:1778 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6297 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6322 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7830 napi_poll net/core/dev.c:7893 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8050 handle_softirqs+0x226/0x860 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:finish_task_switch+0x413/0xc60 kernel/sched/core.c:5384 Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 e9 db 06 00 00 49 83 c4 48 4c 89 e7 e8 87 ae 53 0a e8 b2 2d 3a 00 fb 4c 8b 65 c8 <49> 8d bc 24 18 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0018:ffffc9000333fc60 EFLAGS: 00000202 RAX: 0000000000003a01 RBX: ffff8880b863c8e0 RCX: 8000000000000001 RDX: 0000000000000000 RSI: ffffffff8e4166b3 RDI: ffffffff8c6dad80 RBP: ffffc9000333fcb0 R08: ffffffff907a627f R09: 1ffffffff20f4c4f R10: dffffc0000000000 R11: fffffbfff20f4c50 R12: ffff888049ea1f40 R13: ffff8880b863c8a8 R14: dffffc0000000000 R15: 1ffff110170c791c context_switch kernel/sched/core.c:5536 [inline] __schedule+0x17e3/0x58f0 kernel/sched/core.c:7284 __schedule_loop kernel/sched/core.c:7361 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7376 __exit_to_user_mode_loop kernel/entry/common.c:55 [inline] exit_to_user_mode_loop kernel/entry/common.c:101 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:244 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:315 [inline] irqentry_exit+0x291/0x910 kernel/entry/common.c:165 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:679 RIP: 0033:0x7fdbcf46e4e0 Code: 0f 11 45 00 4c 89 e6 eb 09 90 48 8b 4b 08 48 83 c3 08 48 39 d1 72 f3 48 8d 46 f8 48 8b 76 f8 48 39 f2 73 13 66 0f 1f 44 00 00 <48> 8b 70 f8 48 83 e8 08 48 39 f2 72 f3 48 39 c3 73 3e 48 89 33 48 RSP: 002b:00007fff7a846ef0 EFLAGS: 00000287 RAX: 00007fdbcf38b368 RBX: 00007fdbcf366430 RCX: ffffffff8be1d0e1 RDX: ffffffff8be1d0a7 RSI: ffffffff8be1d0e1 RDI: 00007fdbcf372ce8 RBP: 00007fdbcf34f788 R08: 00007fdbcf810000 R09: 00007fdbcf826038 R10: 0000000000000001 R11: 0000000000000008 R12: 00007fdbcf396248 R13: 0000000000000020 R14: 0000000000008d58 R15: 0000000000000001 No more buffers in queue Receiving skb proto 0x0800 len 52 type 0 Receiving skb proto 0x0800 len 52 type 0 Receiving skb proto 0x0800 len 52 type 0 No more buffers in queue eth0: xmit ffff888077be8c80 42:01:0a:80:00:01 Added buffer head 1 to ffff888028877200 virtqueue callback for ffff888028877200 (ffffffff86bcd020) eth0: xmit ffff88807b2b4140 42:01:0a:80:00:01 Added buffer head 11 to ffff888028877200 Sent skb ffff888077be8c80 Sent skb ffff88807b2b4140 No more buffers in queue virtqueue interrupt with no work for ffff888028877200 percpu_ref_switch_to_atomic_rcu: global 9223372036854775809 percpu 0 wireguard: wg0: Sending keepalive packet to peer 92 ([::1]:20003/0%0) ---------------- 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: e9 db 06 00 00 jmp 0x6ee 13: 49 83 c4 48 add $0x48,%r12 17: 4c 89 e7 mov %r12,%rdi 1a: e8 87 ae 53 0a call 0xa53aea6 1f: e8 b2 2d 3a 00 call 0x3a2dd6 24: fb sti 25: 4c 8b 65 c8 mov -0x38(%rbp),%r12 * 29: 49 8d bc 24 18 17 00 lea 0x1718(%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