Description
In the Linux kernel, the following vulnerability has been resolved:

net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink

ip6gre_changelink() and ip6erspan_changelink() operate on at most two
netns, dev_net(dev) and the tunnel link netns t->net. They differ once
the device is created in or moved to a netns other than the one the
request runs in. The rtnl changelink path checks CAP_NET_ADMIN only
against dev_net(dev), so a caller privileged there but not in t->net can
rewrite a tunnel that lives in t->net.

Gate both ops on rtnl_dev_link_net_capable() at their top, before any
attribute is parsed.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker who has CAP_NET_ADMIN in one network namespace to change configuration of an IP 6 GRE or ERSPAN tunnel that resides in a different network namespace without having sufficient privileges there. By calling ip6gre_changelink() or ip6erspan_changelink() the attacker can rewrite tunnel attributes, potentially hijacking traffic or creating privilege escalation paths. The flaw stems from an improper capability check—CAP_NET_ADMIN is verified only against the device’s own namespace, not the namespace of the tunnel link.

Affected Systems

All Linux kernel releases that have not incorporated the patch removing this weakness. The issue is present in the generic Linux:Linux kernel product; no specific version list is provided, so all affected kernel versions before the update should be considered at risk.

Risk and Exploitability

The CVSS score is not provided, and EPSS is not available; the vulnerability is not listed in CISA’s KEV catalog. The exploit requires the attacker to already possess CAP_NET_ADMIN in the device’s netns, implying a local attacker with root or CAP_NET_ADMIN privileges in that namespace may trick the kernel into reconfiguring a tunnel in another namespace. Because the flaw involves a missing capability check, a successful exploitation would let the attacker modify tunnel parameters—leading to traffic interception or denial of service—without raising obvious audit flags.

Generated by OpenCVE AI on August 15, 2026 at 07:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the fix for this issue
  • Ensure that kernel configuration restricts CAP_NET_ADMIN to users with full root or appropriate namespace permissions
  • Audit network namespace usage and review applications that migrate network devices across namespaces for potential privilege escalations

Generated by OpenCVE AI on August 15, 2026 at 07:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink ip6gre_changelink() and ip6erspan_changelink() operate on at most two netns, dev_net(dev) and the tunnel link netns t->net. They differ once the device is created in or moved to a netns other than the one the request runs in. The rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev), so a caller privileged there but not in t->net can rewrite a tunnel that lives in t->net. Gate both ops on rtnl_dev_link_net_capable() at their top, before any attribute is parsed.
Title net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink
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-08-15T05:52:09.194Z

Reserved: 2026-08-09T03:40:39.902Z

Link: CVE-2026-72052

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:14.523

Modified: 2026-08-15T06:21:14.523

Link: CVE-2026-72052

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T08:00:06Z

Weaknesses