Re: [PATCH net] s390/ism: folio_put() after error
From: patchwork-bot+netdevbpf
Date: Fri Sep 04 2026 - 19:23:21 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 2 Sep 2026 16:37:33 +0200 you wrote:
> dmb->cpu_addr was allocated via folio_alloc(). Use folio_put() instead of
> kfree() in the error exit of ism_alloc_dmb() to avoid slab allocator
> corruption.
>
> While at it, reset dmb->cpu_addr after folio_put to avoid unintentional UAF
> by future callers.
>
> [...]
Here is the summary with links:
- [net] s390/ism: folio_put() after error
https://git.kernel.org/netdev/net/c/907a56ab3eb8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html