Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <will…@google.com>:
On Thu, 26 Nov 2026 09:03:06 +0000 you wrote:
> syzbot reported an inconsistent lock state for the consumer_lock of the
> ptr_ring of a tap queue:
>
> WARNING: inconsistent lock state
> inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage.
> (&r->consumer_lock#4){+.?.}-{3:3}, at: tap_sock_destruct+0x13b/0x330
> {IN-SOFTIRQ-W} state was registered at:
> ptr_ring_consume include/linux/ptr_ring.h:363 [inline]
> ptr_ring_cleanup include/linux/ptr_ring.h:700 [inline]
> tap_sock_destruct+0x13b/0x330 drivers/net/tap.c:444
> __sk_destruct+0x85/0xb70 net/core/sock.c:2386
> sock_wfree+0x254/0x7f0 net/core/sock.c:2754
> [...]
> llc_rcv+0x4d5/0xa70 net/llc/llc_input.c:112
> Call Trace:
> tap_sock_destruct+0x13b/0x330 drivers/net/tap.c:444
> __sk_destruct+0x85/0xb70 net/core/sock.c:2386
> tap_put_queue drivers/net/tap.c:179 [inline]
> tap_release+0x2fc/0x450 drivers/net/tap.c:517
>
> [...]
Here is the summary with links:
- [net] tap: do not take consumer_lock in tap_sock_destruct()
https://git.kernel.org/netdev/net/c/b0d3ff0f5a22
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html