[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aFWnbtAtl1kA1zIo@gmail.com>
Date: Fri, 20 Jun 2025 11:24:46 -0700
From: Breno Leitao <leitao@...ian.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
joe@...a.to
Subject: Re: [PATCH net-next] netdevsim: fix UaF when counting Tx stats
On Fri, Jun 20, 2025 at 10:40:07AM -0700, Jakub Kicinski wrote:
> skb may be freed as soon as we put it on the rx queue.
> Use the len variable like the code did prior to the conversion.
>
> Fixes: f9e2511d80c2 ("netdevsim: migrate to dstats stats collection")
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Breno Leitao <leitao@...ian.org>
Powered by blists - more mailing lists