[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<171802203322.2008.17795101928136841729.git-patchwork-notify@kernel.org>
Date: Mon, 10 Jun 2024 12:20:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, ncardwell@...gle.com, eric.dumazet@...il.com
Subject: Re: [PATCH net] tcp: fix race in tcp_v6_syn_recv_sock()
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Thu, 6 Jun 2024 15:46:51 +0000 you wrote:
> tcp_v6_syn_recv_sock() calls ip6_dst_store() before
> inet_sk(newsk)->pinet6 has been set up.
>
> This means ip6_dst_store() writes over the parent (listener)
> np->dst_cookie.
>
> This is racy because multiple threads could share the same
> parent and their final np->dst_cookie could be wrong.
>
> [...]
Here is the summary with links:
- [net] tcp: fix race in tcp_v6_syn_recv_sock()
https://git.kernel.org/netdev/net/c/d37fe4255abe
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