Re: [PATCH net] octeontx2-pf: Fix potential use-after-free in representor teardown

From: patchwork-bot+netdevbpf

Date: Fri Nov 20 2026 - 18:50:17 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 16 Nov 2026 22:12:10 +0800 you wrote:
> The representor private data resides in its netdev allocation.
> rvu_rep_destroy() frees that allocation before reading rep->flow_cfg to
> release the flow configuration.
>
> Release the configuration while the representor is still alive.
>
> This issue was found by our static analysis tool under development.
>
> [...]

Here is the summary with links:
- [net] octeontx2-pf: Fix potential use-after-free in representor teardown
https://git.kernel.org/netdev/net-next/c/a98c9978f59e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html