================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. ksoftirqd/0/15 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff0000f3486130 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1805 [inline] ffff0000f3486130 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x94/0x138 net/x25/af_x25.c:1781 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x20c/0x638 kernel/locking/lockdep.c:5676 lock_sock_nested+0x70/0x130 net/core/sock.c:3505 lock_sock include/net/sock.h:1805 [inline] x25_release+0xa0/0x3c4 net/x25/af_x25.c:636 __sock_release net/socket.c:654 [inline] sock_close+0xac/0x1ec net/socket.c:1400 __fput+0x1b4/0x7b0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 998944 hardirqs last enabled at (998944): [] __local_bh_enable_ip+0x1f8/0x37c kernel/softirq.c:426 hardirqs last disabled at (998943): [] __local_bh_enable_ip+0x178/0x37c kernel/softirq.c:403 softirqs last enabled at (998880): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (998880): [] handle_softirqs+0xb1c/0xc90 kernel/softirq.c:624 softirqs last disabled at (998885): [] run_ksoftirqd+0x7c/0x2ac kernel/softirq.c:968 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 ksoftirqd/0/15: #0: ffff800015557440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:349 stack backtrace: CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 print_usage_bug+0x4c0/0x6dc kernel/locking/lockdep.c:3962 valid_state kernel/locking/lockdep.c:3974 [inline] mark_lock_irq+0x858/0xab8 kernel/locking/lockdep.c:-1 mark_lock+0x224/0x320 kernel/locking/lockdep.c:4633 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xa88/0x6634 kernel/locking/lockdep.c:5017 lock_acquire+0x20c/0x638 kernel/locking/lockdep.c:5676 lock_sock_nested+0x70/0x130 net/core/sock.c:3505 lock_sock include/net/sock.h:1805 [inline] x25_kill_by_neigh+0x94/0x138 net/x25/af_x25.c:1781 x25_link_terminated+0x5c/0x78 net/x25/x25_link.c:257 x25_lapb_receive_frame+0x140/0xd0c net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5619 [inline] netif_receive_skb_core+0x160/0x244 net/core/dev.c:5644 lapbeth_napi_poll+0x48/0xa0 drivers/net/wan/lapbether.c:99 __napi_poll+0xb8/0x3f4 net/core/dev.c:6628 napi_poll net/core/dev.c:6695 [inline] net_rx_action+0x52c/0xb5c net/core/dev.c:6809 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 run_ksoftirqd+0x7c/0x2ac kernel/softirq.c:968 smpboot_thread_fn+0x4e8/0x960 kernel/smpboot.c:164 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 vkms_vblank_simulate: vblank timer overrun BUG: sleeping function called from invalid context at net/core/sock.c:3507 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 15, name: ksoftirqd/0 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:434 [inline] [] handle_softirqs+0xe8/0xc90 kernel/softirq.c:572 CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x354/0x4e0 kernel/sched/core.c:9970 __might_sleep+0x94/0x110 kernel/sched/core.c:9899 lock_sock_nested+0x80/0x130 net/core/sock.c:3507 lock_sock include/net/sock.h:1805 [inline] x25_kill_by_neigh+0x94/0x138 net/x25/af_x25.c:1781 x25_link_terminated+0x5c/0x78 net/x25/x25_link.c:257 x25_lapb_receive_frame+0x140/0xd0c net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5619 [inline] netif_receive_skb_core+0x160/0x244 net/core/dev.c:5644 lapbeth_napi_poll+0x48/0xa0 drivers/net/wan/lapbether.c:99 __napi_poll+0xb8/0x3f4 net/core/dev.c:6628 napi_poll net/core/dev.c:6695 [inline] net_rx_action+0x52c/0xb5c net/core/dev.c:6809 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 run_ksoftirqd+0x7c/0x2ac kernel/softirq.c:968 smpboot_thread_fn+0x4e8/0x960 kernel/smpboot.c:164 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 vkms_vblank_simulate: vblank timer overrun