[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 06 Jun 2022 10:10:01 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Xiaohui Zhang <ruc_zhangxiaohui@....com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.or,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] l2tp: fix possible use-after-free
Hello,
On Sun, 2022-06-05 at 19:54 +0800, Xiaohui Zhang wrote:
> From: xiaohuizhang98 <ruc_zhangxiaohui@....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@....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@...r.kernel.or ->
netdev@...r.kernel.org
Thanks,
Paolo
Powered by blists - more mailing lists