================================ 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: ffff8880534046e0 (&r->consumer_lock#4){+.?.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff8880534046e0 (&r->consumer_lock#4){+.?.}-{2:2}, at: ptr_ring_consume include/linux/ptr_ring.h:331 [inline] ffff8880534046e0 (&r->consumer_lock#4){+.?.}-{2:2}, at: ptr_ring_cleanup include/linux/ptr_ring.h:669 [inline] ffff8880534046e0 (&r->consumer_lock#4){+.?.}-{2:2}, at: tap_sock_destruct+0x31/0x490 drivers/net/tap.c:506 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x1bc/0x4a0 kernel/locking/lockdep.c:5790 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] ptr_ring_consume include/linux/ptr_ring.h:331 [inline] ptr_ring_cleanup include/linux/ptr_ring.h:669 [inline] tap_sock_destruct+0x31/0x490 drivers/net/tap.c:506 __sk_destruct+0x4f/0x650 net/core/sock.c:2151 sock_put include/net/sock.h:2096 [inline] tap_put_queue drivers/net/tap.c:242 [inline] tap_release+0x308/0x3a0 drivers/net/tap.c:576 __fput+0x20a/0x8b0 fs/file_table.c:320 task_work_run+0x1d0/0x260 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:295 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:306 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 irq event stamp: 34839304 hardirqs last enabled at (34839304): [] kasan_quarantine_put+0xd4/0x210 mm/kasan/quarantine.c:240 hardirqs last disabled at (34839303): [] kasan_quarantine_put+0x39/0x210 mm/kasan/quarantine.c:213 softirqs last enabled at (34839172): [] run_ksoftirqd+0xa4/0x100 kernel/softirq.c:968 softirqs last disabled at (34839177): [] run_ksoftirqd+0xa4/0x100 kernel/softirq.c:968 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&r->consumer_lock#4); lock(&r->consumer_lock#4); *** DEADLOCK *** 1 lock held by ksoftirqd/0/15: #0: ffffffff8db2de20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8db2de20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8db2de20 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x2cb/0x710 net/core/dev.c:6108 stack backtrace: CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:4041 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4244 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4706 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xdf3/0x7ea0 kernel/locking/lockdep.c:5125 lock_acquire+0x1bc/0x4a0 kernel/locking/lockdep.c:5790 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] ptr_ring_consume include/linux/ptr_ring.h:331 [inline] ptr_ring_cleanup include/linux/ptr_ring.h:669 [inline] tap_sock_destruct+0x31/0x490 drivers/net/tap.c:506 __sk_destruct+0x4f/0x650 net/core/sock.c:2151 skb_release_head_state+0xf6/0x240 net/core/skbuff.c:843 skb_release_all net/core/skbuff.c:854 [inline] __kfree_skb net/core/skbuff.c:870 [inline] kfree_skb_reason+0x133/0x370 net/core/skbuff.c:893 __netif_receive_skb_core+0x329b/0x39a0 net/core/dev.c:5641 __netif_receive_skb_one_core net/core/dev.c:5665 [inline] __netif_receive_skb+0x74/0x290 net/core/dev.c:5781 process_backlog+0x37c/0x710 net/core/dev.c:6109 __napi_poll+0xbb/0x460 net/core/dev.c:6676 napi_poll net/core/dev.c:6743 [inline] net_rx_action+0x622/0xbc0 net/core/dev.c:6857 handle_softirqs+0x291/0x910 kernel/softirq.c:596 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:968 smpboot_thread_fn+0x667/0xa30 kernel/smpboot.c:164 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 vkms_vblank_simulate: vblank timer overrun vkms_vblank_simulate: vblank timer overrun