Re: [PATCH net v3] ppp: require CAP_NET_ADMIN in target netns for unattached ioctls
[email protected] Sun, 12 Apr 2026 20:50:11 +0000
| Newsgroups | org.kernel.vger.linux-ppp,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <177602701104.3405581.2910022095376672585.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Thu, 9 Apr 2026 16:11:15 +0900 you wrote: > /dev/ppp open is currently authorized against file->f_cred->user_ns, > while unattached administrative ioctls operate on current->nsproxy->net_ns. > > As a result, a local unprivileged user can create a new user namespace > with CLONE_NEWUSER, gain CAP_NET_ADMIN only in that new user namespace, > and still issue PPPIOCNEWUNIT, PPPIOCATTACH, or PPPIOCATTCHAN against > an inherited network namespace. > > [...] Here is the summary with links: - [net,v3] ppp: require CAP_NET_ADMIN in target netns for unattached ioctls https://git.kernel.org/netdev/net/c/2bb6379416fd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html