# Re: \[PATCH net\] tcp: fix potential race in tcp\_v6\_syn\_recv\_sock()

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2026-02-19 22:29:59 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/02/11348113
- Thread: https://ratatoskr.run/netdev/2026/02/11347966/t.md

```text
Hello:

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

On Tue, 17 Feb 2026 16:12:05 +0000 you wrote:
> Code in tcp_v6_syn_recv_sock() after the call to tcp_v4_syn_recv_sock()
> is done too late.
> 
> After tcp_v4_syn_recv_sock(), the child socket is already visible
> from TCP ehash table and other cpus might use it.
> 
> Since newinet->pinet6 is still pointing to the listener ipv6_pinfo
> bad things can happen as syzbot found.
> 
> [...]

Here is the summary with links:
  - [net] tcp: fix potential race in tcp_v6_syn_recv_sock()
    https://git.kernel.org/netdev/net/c/858d2a4f67ff

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
