Re: [PATCH net] rds_tcp: close NULL deref window in rds_tcp_set_callbacks

From: patchwork-bot+netdevbpf

Date: Thu May 14 2026 - 20:21:54 EST


Hello:

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

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