[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170428202507.24279.722670497373581017.git-patchwork-notify@kernel.org>
Date: Wed, 03 Jan 2024 11:40:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Marc Dionne <marc.dionne@...istor.com>
Cc: netdev@...r.kernel.org, jrife@...gle.com, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, davem@...emloft.net,
willemb@...gle.com, horms@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: Save and restore msg_namelen in sock_sendmsg
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
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
Powered by blists - more mailing lists