[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174346625325.178192.3318310238239193156.git-patchwork-notify@kernel.org>
Date: Tue, 01 Apr 2025 00:10:53 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Taehee Yoo <ap420073@...il.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, andrew+netdev@...n.ch, horms@...nel.org,
netdev@...r.kernel.org, jdamato@...tly.com, sdf@...ichev.me,
almasrymina@...gle.com, xuanzhuo@...ux.alibaba.com
Subject: Re: [PATCH net] net: fix use-after-free in the
netdev_nl_sock_priv_destroy()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 28 Mar 2025 06:22:37 +0000 you wrote:
> In the netdev_nl_sock_priv_destroy(), an instance lock is acquired
> before calling net_devmem_unbind_dmabuf(), then releasing an instance
> lock(netdev_unlock(binding->dev)).
> However, a binding is freed in the net_devmem_unbind_dmabuf().
> So using a binding after net_devmem_unbind_dmabuf() occurs UAF.
> To fix this UAF, it needs to use temporary variable.
>
> [...]
Here is the summary with links:
- [net] net: fix use-after-free in the netdev_nl_sock_priv_destroy()
https://git.kernel.org/netdev/net/c/42f342387841
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