[rds-devel] [External] : Re: [PATCH net v2] rds: tcp: unregister sysctl before tearing down listen socket
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Jul 23 16:20:10 UTC 2026
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
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
More information about the rds-devel
mailing list