[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174114243351.377491.13624948013005852967.git-patchwork-notify@kernel.org>
Date: Wed, 05 Mar 2025 02:40:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: ahmed.zaki@...el.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, horms@...nel.org, kuniyu@...zon.com,
bigeasy@...utronix.de, aleksander.lobakin@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: Prevent use after free in
netif_napi_set_irq_locked()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 3 Mar 2025 15:02:12 +0300 you wrote:
> The cpu_rmap_put() will call kfree() when the last reference is dropped
> so it could result in a use after free when we dereference the same
> pointer the next line. Move the cpu_rmap_put() after the dereference.
>
> Fixes: bd7c00605ee0 ("net: move aRFS rmap management and CPU affinity to core")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
>
> [...]
Here is the summary with links:
- [net-next] net: Prevent use after free in netif_napi_set_irq_locked()
https://git.kernel.org/netdev/net-next/c/f252f23ab657
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists