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.
Published: 2026-06-24
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An unprivileged user can create a new user namespace and obtain CAP_NET_ADMIN only within that namespace. This capability is then incorrectly applied to PPP administration ioctls (PPPIOCNEWUNIT, PPPIOCATTACH, PPPIOCATTCHAN) that target an inherited network namespace. The missing check allows the user to perform privileged PPP operations on a network namespace they are not actually privileged in, effectively granting local privilege escalation. The weakness is an authorization flaw that permits unauthorized access to administrative functionality.

Affected Systems

All Linux kernel implementations that shipped before the fix commit in the kernel. The affected code path resides in the PPP driver for /dev/ppp, which is part of the generic kernel source tree. No specific version list is provided, so any kernel prior to the commit that introduced CAP_NET_ADMIN enforcement is vulnerable.

Risk and Exploitability

The vulnerability is exploitable on any system where the user can use CLONE_NEWUSER to create a user namespace. Because it requires only local access and does not need network connectivity, the attacker must be able to run code on the target machine. The EPSS score is not available, but the lack of restriction on user namespace creation gives this flaw significant potential for exploitation. The vulnerability is not yet listed in the CISA KEV catalog, suggesting no widely known active exploitation at the time of this analysis.

Generated by OpenCVE AI on June 24, 2026 at 19:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the patch that requires CAP_NET_ADMIN in the target network namespace for unattached PPP ioctls; refer to the commit logs linked in the provided references.
  • If a kernel upgrade cannot be performed immediately, disable unprivileged users' ability to create user namespaces by setting kernel.unprivileged_userns_clone=0 in /etc/sysctl.conf and reloading sysctl, which prevents the creation of new user namespaces and thwarts this attack vector.
  • Ensure that any existing PPP services or applications enforce the presence of CAP_NET_ADMIN in the target network namespace, for example by reconfiguring pppd to run with appropriate privileges and by auditing running processes for unexpected capability modifications.

Generated by OpenCVE AI on June 24, 2026 at 19:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title ppp: require CAP_NET_ADMIN in target netns for unattached ioctls
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T16:30:16.214Z

Reserved: 2026-06-09T07:44:35.383Z

Link: CVE-2026-53075

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T19:30:08Z

Weaknesses