[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250620.185306.226334434825096879.davem@davemloft.net>
Date: Fri, 20 Jun 2025 18:53:06 +0100 (BST)
From: David Miller <davem@...emloft.net>
To: kuba@...nel.org
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
andrew+netdev@...n.ch, horms@...nel.org, leitao@...ian.org, joe@...a.to
Subject: Re: [PATCH net-next] netdevsim: fix UaF when counting Tx stats
From: Jakub Kicinski <kuba@...nel.org>
Date: Fri, 20 Jun 2025 10:40:07 -0700
> 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>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists