From: Paolo Abeni <pabeni@redhat.com>
To: Xiaohui Zhang <ruc_zhangxiaohui@163.com>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
netdev@vger.kernel.or, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] l2tp: fix possible use-after-free
Date: Mon, 06 Jun 2022 10:10:01 +0200 [thread overview]
Message-ID: <33aae30b17a14b41212f9c3ed0f8943817a835d9.camel@redhat.com> (raw)
In-Reply-To: <20220605115412.16004-1-ruc_zhangxiaohui@163.com>
Hello,
On Sun, 2022-06-05 at 19:54 +0800, Xiaohui Zhang wrote:
> From: xiaohuizhang98 <ruc_zhangxiaohui@163.com>
>
> We detected a suspected bug with our code clone detection tool.
>
> Similar to the handling of l2tp_tunnel_get in commit a622b40035d1
> ("l2ip: fix possible use-after-free"), we thought a patch might
> be needed here as well.
>
> Before taking a refcount on a rcu protected structure,
> we need to make sure the refcount is not zero.
>
> Signed-off-by: xiaohuizhang98 <ruc_zhangxiaohui@163.com>
It looks like series this did not make to patchwork, due to a typo in
the ML address, please fix it and resend: netdev@vger.kernel.or ->
netdev@vger.kernel.org
Thanks,
Paolo
next prev parent reply other threads:[~2022-06-06 8:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-05 11:54 Xiaohui Zhang
2022-06-06 8:10 ` Paolo Abeni [this message]
2022-06-07 16:16 Xiaohui Zhang
2022-06-07 17:28 ` Eric Dumazet
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=33aae30b17a14b41212f9c3ed0f8943817a835d9.camel@redhat.com \
--to=pabeni@redhat.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.or \
--cc=ruc_zhangxiaohui@163.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®