[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<171703202882.14088.8077644026814972622.git-patchwork-notify@kernel.org>
Date: Thu, 30 May 2024 01:20:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
dsahern@...nel.org, netdev@...r.kernel.org, eric.dumazet@...il.com,
clecigne@...gle.com, tom@...bertland.com
Subject: Re: [PATCH net] net: fix __dst_negative_advice() race
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 28 May 2024 11:43:53 +0000 you wrote:
> __dst_negative_advice() does not enforce proper RCU rules when
> sk->dst_cache must be cleared, leading to possible UAF.
>
> RCU rules are that we must first clear sk->sk_dst_cache,
> then call dst_release(old_dst).
>
> Note that sk_dst_reset(sk) is implementing this protocol correctly,
> while __dst_negative_advice() uses the wrong order.
>
> [...]
Here is the summary with links:
- [net] net: fix __dst_negative_advice() race
https://git.kernel.org/netdev/net/c/92f1655aa2b2
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