[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZjuMA8Aj5TfsPq77@Laptop-X1>
Date: Wed, 8 May 2024 22:28:19 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: kovalev@...linux.org
Cc: Simon Horman <horms@...nel.org>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
David Ahern <dsahern@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Sabrina Dubroca <sd@...asysnail.net>,
Guillaume Nault <gnault@...hat.com>
Subject: Re: [PATCHv2 net] ipv6: sr: fix invalid unregister error path
On Wed, May 08, 2024 at 03:04:36PM +0300, kovalev@...linux.org wrote:
> Hi,
>
> 08.05.2024 12:40, Simon Horman wrote:
> > On Wed, May 08, 2024 at 10:55:02AM +0800, Hangbin Liu wrote:
>
> > > Fixes: 5559cea2d5aa ("ipv6: sr: fix possible use-after-free and null-ptr-deref")
> >
> > I agree that the current manifestation of the first problem
> > was introduced. But didn't a very similar problem exist before then?
> > I suspect the fixes tag should refer to an earlier commit.
> >
> Indeed, the invalid unregister error path was introduced by commit
> 46738b1317e1 ("ipv6: sr: add option to control lwtunnel support"),
> and the mentioned 5559cea2d5aa commit replaced one function with another in
> this error path.
Thanks for your checking :)
Hangbin
Powered by blists - more mailing lists