Re: [PATCH net v2] rds: tcp: fix uninit-value in __inet_bind
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-02-19 15:10:17
Also in:
linux-rdma, lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-02-19 15:10:17
Also in:
linux-rdma, lkml
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni [off-list ref]: On Tue, 17 Feb 2026 19:23:49 +0530 you wrote:
KMSAN reported an uninit-value access in __inet_bind() when binding an RDS TCP socket. The uninitialized memory originates from rds_tcp_conn_alloc(), which uses kmem_cache_alloc() to allocate the rds_tcp_connection structure. Specifically, the field 't_client_port_group' is incremented in rds_tcp_conn_path_connect() without being initialized first: [...]
Here is the summary with links:
- [net,v2] rds: tcp: fix uninit-value in __inet_bind
https://git.kernel.org/netdev/net/c/7b821da55b3f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html