Re: [PATCH net] net: alacritech: fix dma_free_coherent() in error path

From: patchwork-bot+netdevbpf

Date: Tue Oct 13 2026 - 11:11:15 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 6 Oct 2026 16:09:09 +0200 you wrote:
> In slic_init_stat_queue(), a series of coherent buffers is allocated
> with the length size. The size is then stored in stq->mem_size for
> normal deallocation. However, in the error path, stq->mem_size is also
> used but is not initialized. This error may leave the freed buffers
> mapped, leaking a resource and allowing the device to access freed
> memory.
>
> [...]

Here is the summary with links:
- [net] net: alacritech: fix dma_free_coherent() in error path
https://git.kernel.org/netdev/net-next/c/05b5019b01fb

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