Re: [PATCH net v2] rds: tcp: unregister sysctl before tearing down listen socket

[email protected]
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <178482361015.2769750.11692897293921872988.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Sun, 19 Jul 2026 17:03:57 -0400 you wrote:
> rds_tcp_exit_net() frees the per-netns RDS TCP listen socket via
> rds_tcp_kill_sock() before unregistering the per-netns sysctl table.  Since
> rds_tcp_skbuf_handler() derives the netns from
> rtn->rds_tcp_listen_sock->sk, a concurrent sysctl write can race with
> netns teardown and dereference the freed socket/sk.
> 
> KASAN reports the race as:
> 
> [...]

Here is the summary with links:
  - [net,v2] rds: tcp: unregister sysctl before tearing down listen socket
    https://git.kernel.org/netdev/net/c/167e54c703cc

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.