# Re: \[PATCH net\] s390/ism: folio\_put() after error

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2026-09-04 23:21:08 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/09/17517232
- Thread: https://ratatoskr.run/netdev/2026/09/17498799/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [ref]:

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


```
