From: patchwork-bot+netdevbpf@kernel.org
To: Jiayi Zhang <zhangjiayi1014@gmail.com>
Cc: willemdebruijn.kernel@gmail.com, jasowangio@gmail.com,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, mst@redhat.com,
847807867@qq.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org,
syzbot+a2220efe757ca2a7358d@syzkaller.appspotmail.com,
syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH net] tap: do not take consumer_lock in tap_sock_destruct()
Date: Wed, 02 Dec 2026 02:40:14 +0000 [thread overview]
Message-ID: <179617921474.1132066.3701624530643818552.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261126090306.3416278-1-zhangjiayi1014@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@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
prev parent reply other threads:[~2026-12-02 2:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 9:03 Jiayi Zhang
2026-11-26 10:16 ` Shuai Liu
2026-12-02 2:40 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179617921474.1132066.3701624530643818552.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=847807867@qq.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=jasowangio@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=syzbot+a2220efe757ca2a7358d@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=willemdebruijn.kernel@gmail.com \
--cc=zhangjiayi1014@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®