Skip to main content

Linux Kernel CVE-2025-68340

MEDIUM
2025-12-23 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain CAP_NET_ADMIN via user namespace
  2. Delivery
    Create team0 network device
  3. Exploit
    Bring GRE device gre0 to UP state
  4. Install
    Attempt failed port addition corrupting team0 header_ops
  5. C2
    Transmit packets through corrupted team0 device
  6. Execute
    Kernel invokes ipgre_header() with struct team pointer
  7. Impact
    Kernel hang or BUG() (local DoS)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires CAP_NET_ADMIN capability, obtainable without root on distributions that enable unprivileged user namespace creation (kernel.unprivileged_userns_clone=1, the default on Ubuntu, Fedora, and most modern distros). The specific trigger sequence requires: (1) creating a team-type netdevice, (2) having a non-Ethernet type device (demonstrated with GRE/gre0) in UP state, and (3) issuing ip link set dev gre0 master team0 - which fails but corrupts header_ops. The crash is deferred until the corrupted team device is actually used for packet transmission (e.g., via ping). Systems where kernel.unprivileged_userns_clone=0 limit this to root-equivalent (PR:H effective), substantially reducing practical risk. Containers granted CAP_NET_ADMIN explicitly remain vulnerable regardless of this sysctl.

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (score 5.5) accurately captures the local, low-complexity nature of the attack with high availability impact and zero confidentiality or integrity exposure. On distributions that enable unprivileged user namespaces (Ubuntu, Fedora, most modern distros), PR:L is appropriate because a non-root user can obtain CAP_NET_ADMIN within their own network namespace, making this exploitable without root. EPSS data is absent from available intelligence, preventing probabilistic exploitation rate assessment. This vulnerability is not in the CISA KEV catalog, and no weaponized exploit beyond the syzbot proof-of-concept exists. The practical risk is constrained to denial-of-service on kernel availability, not data exposure. One noteworthy data quality conflict: NVD tags this vulnerability as 'Information Disclosure,' which directly contradicts the CVSS impact metrics (C:N, I:N, A:H) and the description - no information disclosure mechanism is described anywhere; the tag appears erroneous. Real-world priority should be moderate: patching is straightforward given available stable-tree commits, but exploitation impact is limited to local DoS on systems permitting user namespace creation.

Exploit ScenarioDerived

A local user on a system with unprivileged user namespace support creates a network namespace, instantiates a team device and a GRE device, brings the GRE device to UP state, then attempts ip link set dev gre0 master team0. The port addition fails due to the UP-state check, but header_ops on team0 has already been corrupted. When the user subsequently runs ping -I team0 1.1.1.1, the kernel invokes ipgre_header() with struct team as the private data, treating it as struct ip_tunnel and dereferencing garbage pointers - causing a kernel hang or triggered BUG(), effectively crashing or hanging the kernel on that CPU. A syzbot reproducer for this exact sequence is confirmed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Type confusion in the Linux kernel's team network driver (team_port_add) allows a local user with CAP_NET_ADMIN to corrupt a team device's header_ops state, leading to a kernel hang or BUG(). When an already-UP GRE device is added as a team port, the operation fails but not before team_dev_type_check_change irreversibly replaces eth_header with ipgre_header on the team device; subsequent packet transmission causes ipgre_header() to dereference struct team private data as struct ip_tunnel, triggering a local denial-of-service. No active exploitation has been confirmed (not in CISA KEV), though a syzbot reproducer demonstrates the issue reliably.

RemediationAI

Update to a patched Linux kernel version containing any of the upstream fix commits: 0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef, 4040b5e8963982a00aa821300cb746efc9f2947e, a74ab1b532ecc5f9106621a8f75b4c3d04466b35, c8b15b0d2eec3b5c7f585e5a53dfc8d36c818283, e26235840fd961e4ebe5568f11a2a078cf726663, or e3eed4f038214494af62c7d2d64749e5108ce6ca (all at git.kernel.org/stable). Distribution-specific patched versions should be obtained via the relevant vendor security channel (e.g., RHEL errata, Ubuntu USN, SUSE SA). As a compensating control where immediate kernel patching is not feasible, restrict CAP_NET_ADMIN to trusted users only by disabling unprivileged user namespace creation (sysctl kernel.unprivileged_userns_clone=0 on supported distros) - note this trade-off breaks container runtimes and tools relying on user namespaces. Alternatively, use seccomp, AppArmor, or SELinux policies to restrict the ip link set master operation to privileged processes only.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the team bonding/aggregation network driver in the Linux kernel (drivers/net/team/team_core.c). The root cause is an ordering defect in team_port_add(): team_dev_type_check_change() was called before all port-addition prerequisite checks passed. This function overwrites the team netdevice's header_ops pointer (e.g., from eth_header to ipgre_header) to match the port device's type, with no rollback path if a subsequent check fails. When an already-UP GRE device is offered as a port, the UP-state check rejects it, but header_ops has already been mutated. The device's private data (netdev_priv) still holds struct team, yet ipgre_header() subsequently dereferences it as struct ip_tunnel - a classic type confusion resulting in kernel memory corruption and crash. CPE data confirms impact across multiple stable Linux kernel branches including 6.18-rc1 through rc5. The fix relocates team_dev_type_check_change to after all checks have passed and adds a conditional to preserve correct MTU assignment semantics.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local access with low privileges (user namespace on default distros); no confidentiality or integrity impact, only kernel availability loss.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 6.6 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Red Hat 4.7 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

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

team: Move team device type change at the end of team_port_add

Attempting to add a port device that is already up will expectedly fail, but not before modifying the team device header_ops.

In the case of the syzbot reproducer the gre0 device is already in state UP when it attempts to add it as a port device of team0, this fails but before that header_ops->create of team0 is changed from eth_header to ipgre_header in the call to team_dev_type_check_change.

Later when we end up in ipgre_header() struct ip_tunnel* points to nonsense as the private data of the device still holds a struct team.

Example sequence of iproute2 commands to reproduce the hang/BUG(): ip link add dev team0 type team ip link add dev gre0 type gre ip link set dev gre0 up ip link set dev gre0 master team0 ip link set dev team0 up ping -I team0 1.1.1.1

Move team_dev_type_check_change down where all other checks have passed as it changes the dev type with no way to restore it in case one of the checks that follow it fail.

Also make sure to preserve the origial mtu assignment:

  • If port_dev is not the same type as dev, dev takes mtu from port_dev
  • If port_dev is the same type as dev, port_dev takes mtu from dev

This is done by adding a conditional before the call to dev_set_mtu to prevent it from assigning port_dev->mtu = dev->mtu and instead letting team_dev_type_check_change assign dev->mtu = port_dev->mtu. The conditional is needed because the patch moves the call to team_dev_type_check_change past dev_set_mtu.

Testing:

  • team device driver in-tree selftests
  • Add/remove various devices as slaves of team device
  • syzbot

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc7:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SL-Micro Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/0ae9cfc454ea5ead5f3ddbdfe2e70270d8e2c8ef PATCH https://git.kernel.org/stable/c/4040b5e8963982a00aa821300cb746efc9f2947e PATCH https://git.kernel.org/stable/c/a74ab1b532ecc5f9106621a8f75b4c3d04466b35 PATCH https://git.kernel.org/stable/c/c8b15b0d2eec3b5c7f585e5a53dfc8d36c818283 PATCH https://git.kernel.org/stable/c/e26235840fd961e4ebe5568f11a2a078cf726663 PATCH https://git.kernel.org/stable/c/e3eed4f038214494af62c7d2d64749e5108ce6ca ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0316/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20220/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20228/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20564/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ REF https://git.kernel.org/stable/c/f82d1fb65549de241fe312fcb2bcb8e0ad7b424d

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy