[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170894882824.16875.2646102394429874365.git-patchwork-notify@kernel.org>
Date: Mon, 26 Feb 2024 12:00:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, eric.dumazet@...il.com, brauner@...nel.org,
dsahern@...nel.org
Subject: Re: [PATCH net] ipv6: fix potential "struct net" leak in
inet6_rtm_getaddr()
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Thu, 22 Feb 2024 12:17:47 +0000 you wrote:
> It seems that if userspace provides a correct IFA_TARGET_NETNSID value
> but no IFA_ADDRESS and IFA_LOCAL attributes, inet6_rtm_getaddr()
> returns -EINVAL with an elevated "struct net" refcount.
>
> Fixes: 6ecf4c37eb3e ("ipv6: enable IFA_TARGET_NETNSID for RTM_GETADDR")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Christian Brauner <brauner@...nel.org>
> Cc: David Ahern <dsahern@...nel.org>
>
> [...]
Here is the summary with links:
- [net] ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
https://git.kernel.org/netdev/net/c/10bfd453da64
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