Re: [PATCH net,v2] net: ipa: Fix double free of the interrupt structure on config error
From: patchwork-bot+netdevbpf
Date: Fri Oct 30 2026 - 22:11:09 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 29 Oct 2026 09:20:55 +0100 you wrote:
> Since ipa_interrupt_init() allocates struct ipa_interrupt in ipa_probe(),
> the structure is owned by ipa_probe() and released with
> ipa_interrupt_exit() on its error paths and in ipa_remove(). The error
> path of ipa_interrupt_config() still frees it with kfree(). If
> ipa_interrupt_config() fails (called from ipa_config() via ipa_setup()),
> ipa_probe() unwinds through err_interrupt_exit, which frees the same
> structure again.
>
> [...]
Here is the summary with links:
- [net,v2] net: ipa: Fix double free of the interrupt structure on config error
https://git.kernel.org/netdev/net/c/cb284914e749
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html