lkml.org 
[lkml]   [2022]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] l2tp: fix possible use-after-free
From
Date
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

\
 
 \ /
  Last update: 2022-06-06 10:13    [W:0.126 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site