[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163517520752.28215.6589044097050566121.git-patchwork-notify@kernel.org>
Date: Mon, 25 Oct 2021 15:20:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Xin Long <lucien.xin@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, christian.brauner@...ntu.com
Subject: Re: [PATCH net] net-sysfs: initialize uid and gid before calling
net_ns_get_ownership
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Mon, 25 Oct 2021 02:31:48 -0400 you wrote:
> Currently in net_ns_get_ownership() it may not be able to set uid or gid
> if make_kuid or make_kgid returns an invalid value, and an uninit-value
> issue can be triggered by this.
>
> This patch is to fix it by initializing the uid and gid before calling
> net_ns_get_ownership(), as it does in kobject_get_ownership()
>
> [...]
Here is the summary with links:
- [net] net-sysfs: initialize uid and gid before calling net_ns_get_ownership
https://git.kernel.org/netdev/net/c/f7a1e76d0f60
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