[rds-devel] [External] : Re: [PATCH net] rds_tcp: close NULL deref window in rds_tcp_set_callbacks

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri May 15 00:20:07 UTC 2026


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Tue, 12 May 2026 22:28:07 +0800 you wrote:
> rds_tcp_set_callbacks() links a new rds_tcp_connection onto
> rds_tcp_tc_list under rds_tcp_tc_list_lock. It releases the
> lock, then assigns tc->t_sock = sock outside the lock.
> 
> rds_tcp_tc_info() and rds6_tcp_tc_info() walk rds_tcp_tc_list
> under the same lock. Both dereference tc->t_sock->sk without
> a NULL check.
> 
> [...]

Here is the summary with links:
  - [net] rds_tcp: close NULL deref window in rds_tcp_set_callbacks
    https://git.kernel.org/netdev/net/c/d2bfdbb69cf8

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