Re: [PATCH net] octeontx2-pf: fix double free in rvu_rep_rsrc_init()
From: patchwork-bot+netdevbpf
Date: Thu May 14 2026 - 21:27:44 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 13 May 2026 23:13:20 +0800 you wrote:
> rvu_rep_rsrc_init() allocates queue memory before calling
> otx2_init_hw_resources(). When hardware resource setup fails,
> otx2_init_hw_resources() already unwinds the partially initialized
> SQ, CQ, and aura state before returning an error. The representor
> error path then calls otx2_free_hw_resources() again and can free
> the same resources a second time.
>
> [...]
Here is the summary with links:
- [net] octeontx2-pf: fix double free in rvu_rep_rsrc_init()
https://git.kernel.org/netdev/net/c/e8fb3de2a8ef
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html