lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <176074441324.2826097.8362521486408596129.git-patchwork-notify@kernel.org>
Date: Fri, 17 Oct 2025 23:40:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: luoxuanqiang <xuanqiang.luo@...ux.dev>
Cc: edumazet@...gle.com, kuniyu@...gle.com, pabeni@...hat.com,
 paulmck@...nel.org, kerneljasonxing@...il.com, davem@...emloft.net,
 kuba@...nel.org, netdev@...r.kernel.org, horms@...nel.org,
 jiayuan.chen@...ux.dev, ncardwell@...gle.com, dsahern@...nel.org,
 luoxuanqiang@...inos.cn, frederic@...nel.org, neeraj.upadhyay@...nel.org
Subject: Re: [PATCH net-next v8 0/3] net: Avoid ehash lookup races

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:

On Wed, 15 Oct 2025 10:02:33 +0800 you wrote:
> From: Xuanqiang Luo <luoxuanqiang@...inos.cn>
> 
> After replacing R/W locks with RCU in commit 3ab5aee7fe84 ("net: Convert
> TCP & DCCP hash tables to use RCU / hlist_nulls"), a race window emerged
> during the switch from reqsk/sk to sk/tw.
> 
> Now that both timewait sock (tw) and full sock (sk) reside on the same
> ehash chain, it is appropriate to introduce hlist_nulls replace
> operations, to eliminate the race conditions caused by this window.
> 
> [...]

Here is the summary with links:
  - [net-next,v8,1/3] rculist: Add hlist_nulls_replace_rcu() and hlist_nulls_replace_init_rcu()
    https://git.kernel.org/netdev/net-next/c/9c4609225ec1
  - [net-next,v8,2/3] inet: Avoid ehash lookup race in inet_ehash_insert()
    https://git.kernel.org/netdev/net-next/c/1532ed0d0753
  - [net-next,v8,3/3] inet: Avoid ehash lookup race in inet_twsk_hashdance_schedule()
    https://git.kernel.org/netdev/net-next/c/b8ec80b13021

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ