CVE-2026-53075: ppp: require CAP_NET_ADMIN in target netns for unattached ioctls
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ppp: require CAP_NET_ADMIN in target netns for unattached ioctls
/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.
Require CAP_NET_ADMIN in the user namespace that owns the target network namespace before handling unattached PPP administrative ioctls.
This preserves normal pppd operation in the network namespace it is actually privileged in, while rejecting the userns-only inherited-netns case.
The Linux kernel CVE team has assigned CVE-2026-53075 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 5.10.258 with commit c9edd90c57ae23692fff6b049fdfa4572a9fd532 Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 5.15.209 with commit 5080e188c914110034bbc569d5cfa2f06204681d Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 6.1.175 with commit 67e901e28d177ac9a9bed76d69ce3471e704a89e Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 6.6.141 with commit 954745d0223e7caec917c0b2d1a889ff56fa6e54 Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 6.12.91 with commit 3b2c2157dc2afc5c17cd7238afefca92f1ef330e Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 6.18.33 with commit 5013be175c7ffd8b39efbc3c9c4db5b10b85fea8 Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 7.0.10 with commit 1a8a51ce85075a56a743b6f142606dd2696a391c Issue introduced in 2.6.30 with commit 273ec51dd7ceaa76e038875d85061ec856d8905e and fixed in 7.1 with commit 2bb6379416fd19f44c3423a00bfd8626259f6067
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53075
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ppp/ppp_generic.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/c9edd90c57ae23692fff6b049fdfa4572a9fd532 https://git.kernel.org/stable/c/5080e188c914110034bbc569d5cfa2f06204681d https://git.kernel.org/stable/c/67e901e28d177ac9a9bed76d69ce3471e704a89e https://git.kernel.org/stable/c/954745d0223e7caec917c0b2d1a889ff56fa6e54 https://git.kernel.org/stable/c/3b2c2157dc2afc5c17cd7238afefca92f1ef330e https://git.kernel.org/stable/c/5013be175c7ffd8b39efbc3c9c4db5b10b85fea8 https://git.kernel.org/stable/c/1a8a51ce85075a56a743b6f142606dd2696a391c https://git.kernel.org/stable/c/2bb6379416fd19f44c3423a00bfd8626259f6067