================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. kworker/1:1H/52 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff0000d4cd8130 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1805 [inline] ffff0000d4cd8130 (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: 2827098 hardirqs last enabled at (2827098): [] __local_bh_enable_ip+0x1f8/0x37c kernel/softirq.c:426 hardirqs last disabled at (2827097): [] __local_bh_enable_ip+0x178/0x37c kernel/softirq.c:403 softirqs last enabled at (2814474): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (2814474): [] handle_softirqs+0xb1c/0xc90 kernel/softirq.c:624 softirqs last disabled at (2826949): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(sk_lock-AF_X25); lock(sk_lock-AF_X25); *** DEADLOCK *** 3 locks held by kworker/1:1H/52: #0: ffff0000c0020d38 ((wq_completion)events_highpri){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff80001f0b7c40 ((work_completion)(&vmidi->output_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800015557440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:349 stack backtrace: CPU: 1 PID: 52 Comm: kworker/1:1H Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Workqueue: events_highpri snd_vmidi_output_work 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 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x430 kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_enable arch/arm64/include/asm/irqflags.h:35 [inline] raw_spin_rq_unlock_irq kernel/sched/sched.h:1374 [inline] finish_lock_switch+0xb8/0x1c8 kernel/sched/core.c:5005 finish_task_switch+0x120/0x658 kernel/sched/core.c:5123 context_switch kernel/sched/core.c:5249 [inline] __schedule+0xdb8/0x1a6c kernel/sched/core.c:6563 preempt_schedule_common+0xec/0x1a0 kernel/sched/core.c:6732 preempt_schedule+0x64/0x84 kernel/sched/core.c:6756 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xa8/0xac kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] snd_rawmidi_transmit+0xac/0xe0 sound/core/rawmidi.c:1478 snd_vmidi_output_work+0x180/0x38c sound/core/seq/seq_virmidi.c:151 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 BUG: sleeping function called from invalid context at net/core/sock.c:3507 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 52, name: kworker/1:1H preempt_count: 101, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] preempt_schedule+0x64/0x84 kernel/sched/core.c:6756 CPU: 1 PID: 52 Comm: kworker/1:1H Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Workqueue: events_highpri snd_vmidi_output_work 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 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x430 kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_enable arch/arm64/include/asm/irqflags.h:35 [inline] raw_spin_rq_unlock_irq kernel/sched/sched.h:1374 [inline] finish_lock_switch+0xb8/0x1c8 kernel/sched/core.c:5005 finish_task_switch+0x120/0x658 kernel/sched/core.c:5123 context_switch kernel/sched/core.c:5249 [inline] __schedule+0xdb8/0x1a6c kernel/sched/core.c:6563 preempt_schedule_common+0xec/0x1a0 kernel/sched/core.c:6732 preempt_schedule+0x64/0x84 kernel/sched/core.c:6756 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xa8/0xac kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] snd_rawmidi_transmit+0xac/0xe0 sound/core/rawmidi.c:1478 snd_vmidi_output_work+0x180/0x38c sound/core/seq/seq_virmidi.c:151 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 ip6_tunnel: ip6gre1 xmit: Local address not yet configured! ip6_tunnel: ip6gre1 xmit: Local address not yet configured!