Re: [PATCH net] qed: fix double free in qed_cxt_tables_alloc()

From: patchwork-bot+netdevbpf

Date: Thu May 21 2026 - 12:48:27 EST


Hello:

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

On Wed, 20 May 2026 15:03:23 +0800 you wrote:
> If one of the later PF or VF CID bitmap allocations fails,
> qed_cid_map_alloc() jumps to cid_map_fail and frees the previously
> allocated CID bitmaps before returning an error. qed_cxt_tables_alloc()
> then calls qed_cxt_mngr_free(), which invokes qed_cid_map_free()
> again.
>
> Fix this by setting each CID bitmap pointer to NULL after bitmap_free()
> to avoid double free.
>
> [...]

Here is the summary with links:
- [net] qed: fix double free in qed_cxt_tables_alloc()
https://git.kernel.org/netdev/net/c/2bccfb8476ca

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