[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175879140625.2887572.13262332274692355098.git-patchwork-notify@kernel.org>
Date: Thu, 25 Sep 2025 09:10:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: sbhatta@...vell.com, sgoutham@...vell.com, gakula@...vell.com,
hkelam@...vell.com, bbhushan2@...vell.com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] octeontx2-pf: Fix potential use after free in
otx2_tc_add_flow()
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Tue, 23 Sep 2025 14:19:11 +0300 you wrote:
> This code calls kfree_rcu(new_node, rcu) and then dereferences "new_node"
> and then dereferences it on the next line. Two lines later, we take
> a mutex so I don't think this is an RCU safe region. Re-order it to do
> the dereferences before queuing up the free.
>
> Fixes: 68fbff68dbea ("octeontx2-pf: Add police action for TC flower")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
>
> [...]
Here is the summary with links:
- [net] octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
https://git.kernel.org/netdev/net/c/d9c70e93ec59
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