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

geneve: require CAP_NET_ADMIN in the device netns for changelink

A tunnel changelink() operates on at most two netns, dev_net(dev) and
the sticky underlay netns geneve->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 geneve->net can rewrite a geneve
device whose underlay lives in geneve->net.

geneve_changelink() applies the new configuration against geneve->net:
geneve_link_config() and the geneve_quiesce()/geneve_unquiesce() pair
reopen the underlay sockets in that netns (geneve_sock_add() uses
geneve->net), so the same reasoning as the tunnel changelink series
applies here.

Gate geneve_changelink() with rtnl_dev_link_net_capable(), at the top of
the op before any attribute is parsed, matching ipgre_changelink() and
the rest of the "require CAP_NET_ADMIN in the device netns for
changelink" series.

Found by 0sec automated security-research tooling (https://0sec.ai).
Published: 2026-08-10
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when a caller with CAP_NET_ADMIN privilege in one network namespace can invoke geneve change operations that affect a Geneve device whose underlying network namespace is different. The command path only checks the capability against the device’s namespace, not the device’s own namespace, allowing the attacker to reconfigure or replace a Geneve tunnel that resides in another namespace. This flaw can lead to unauthorized alteration of network tunnel settings, which may be exploited to redirect traffic, insert malicious nodes, or disrupt network connectivity. The weakness is a type of improper privilege management (CWE‑266).

Affected Systems

Any Linux system running an unpatched Linux kernel that implements Geneve tunnelling is potentially affected. No specific kernel release versions are provided, but the flaw exists prior to the fix committed in this patch. Users should assume all active kernel versions before the update are vulnerable until they upgrade.

Risk and Exploitability

The exploit requires local access to a network namespace where the attacker can run privileged commands and has CAP_NET_ADMIN only in that namespace, not in the Geneve device’s namespace. No public exploitation has been reported. The EPSS score indicates a very low exploitation probability (< 1%). The flaw permits unauthorized configuration changes, making the impact significant, especially in multi‑tenant or segregated networking environments. With a CVSS score of 8.8, the risk is high, and the vulnerability is not listed in CISA’s KEV catalog.

Generated by OpenCVE AI on August 13, 2026 at 23:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the Geneve changenlink fix, ensuring the patch is applied to all nodes that use Geneve tunnels.
  • Restrict CAP_NET_ADMIN to trusted users or processes and verify that the capability is granted only in the namespace where the Geneve device is created, preventing cross‑namespace privilege escalation.
  • Audit and monitor Geneve interface modifications, particularly across namespace boundaries, to detect unauthorized changes and enforce security policies.

Generated by OpenCVE AI on August 13, 2026 at 23:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Thu, 13 Aug 2026 08:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
CWE-285

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-266
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H'}

threat_severity

Moderate


Mon, 10 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
CWE-285

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: geneve: require CAP_NET_ADMIN in the device netns for changelink A tunnel changelink() operates on at most two netns, dev_net(dev) and the sticky underlay netns geneve->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 geneve->net can rewrite a geneve device whose underlay lives in geneve->net. geneve_changelink() applies the new configuration against geneve->net: geneve_link_config() and the geneve_quiesce()/geneve_unquiesce() pair reopen the underlay sockets in that netns (geneve_sock_add() uses geneve->net), so the same reasoning as the tunnel changelink series applies here. Gate geneve_changelink() with rtnl_dev_link_net_capable(), at the top of the op before any attribute is parsed, matching ipgre_changelink() and the rest of the "require CAP_NET_ADMIN in the device netns for changelink" series. Found by 0sec automated security-research tooling (https://0sec.ai).
Title geneve: 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-19T16:30:02.355Z

Reserved: 2026-07-30T09:28:09.370Z

Link: CVE-2026-68142

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:19:59.893

Modified: 2026-08-19T17:20:31.360

Link: CVE-2026-68142

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T11:59:06Z

Links: CVE-2026-68142 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T00:00:04Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment