[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175832580899.3740319.9945359805753300205.git-patchwork-notify@kernel.org>
Date: Fri, 19 Sep 2025 23:50:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sidraya Jayagond <sidraya@...ux.ibm.com>
Cc: kuba@...nel.org, andrew+netdev@...n.ch, davem@...emloft.net,
pabeni@...hat.com, horms@...nel.org, alibuda@...ux.alibaba.com,
dust.li@...ux.alibaba.com, wenjia@...ux.ibm.com, mjambigi@...ux.ibm.com,
tonylu@...ux.alibaba.com, guwen@...ux.alibaba.com, netdev@...r.kernel.org,
linux-s390@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH net] net/smc: fix warning in smc_rx_splice() when calling
get_page()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 17 Sep 2025 20:42:20 +0200 you wrote:
> smc_lo_register_dmb() allocates DMB buffers with kzalloc(), which are
> later passed to get_page() in smc_rx_splice(). Since kmalloc memory is
> not page-backed, this triggers WARN_ON_ONCE() in get_page() and prevents
> holding a refcount on the buffer. This can lead to use-after-free if
> the memory is released before splice_to_pipe() completes.
>
> Use folio_alloc() instead, ensuring DMBs are page-backed and safe for
> get_page().
>
> [...]
Here is the summary with links:
- [net] net/smc: fix warning in smc_rx_splice() when calling get_page()
https://git.kernel.org/netdev/net/c/a35c04de2565
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists