Re: [PATCH] net: Save and restore msg_namelen in sock_sendmsg

From: patchwork-bot+netdevbpf
Date: Wed Jan 03 2024 - 06:40:34 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 21 Dec 2023 09:12:30 -0400 you wrote:
> Commit 86a7e0b69bd5 ("net: prevent rewrite of msg_name in
> sock_sendmsg()") made sock_sendmsg save the incoming msg_name pointer
> and restore it before returning, to insulate the caller against
> msg_name being changed by the called code. If the address length
> was also changed however, we may return with an inconsistent structure
> where the length doesn't match the address, and attempts to reuse it may
> lead to lost packets.
>
> [...]

Here is the summary with links:
- net: Save and restore msg_namelen in sock_sendmsg
https://git.kernel.org/netdev/net/c/01b2885d9415

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html