Thread (3 messages) flat view 3 messages, 3 authors, 2021-10-25

Re: [PATCH net] net-sysfs: initialize uid and gid before calling net_ns_get_ownership

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-25 15:20:13

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help