Skip to main content

Linux Kernel CVE-2026-31502

| EUVDEUVD-2026-24879 HIGH
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-pgcq-8hv5-frgj
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Gain local user access
  2. Delivery
    Configure or trigger traffic through team device with non-Ethernet lower layer
  3. Exploit
    Invoke dev_hard_header via packet send
  4. Execution
    Trigger type confusion in header_ops callback
  5. Persist
    Corrupt kernel memory via netdev_priv() misinterpretation
  6. Impact
    Escalate privileges or crash kernel

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires Linux kernel with CONFIG_NET_TEAM enabled (common in most distributions). System must have team network device configured with non-Ethernet lower devices - specifically GRE, IPIP, SIT tunnels, or other non-Ethernet interfaces as team ports, often in nested stacking like 'gre → bond → team'. This is NOT a default configuration; standard team deployments use Ethernet interfaces only. Attacker needs local authenticated access with sufficient privileges to trigger network operations (typically CAP_NET_ADMIN to configure, or ability to send packets through the team interface). The vulnerability is triggered during packet transmission when dev_hard_header() or dev_parse_header() is invoked on the team device. Standard Ethernet-only team configurations are not vulnerable - the specific non-Ethernet lower device requirement significantly limits real-world attack surface.

Impact

Despite a CVSS base score of 7.8 (High), real-world risk appears limited based on multiple signals. The CVSS vector (AV:L/AC:L/PR:L/UI:N) confirms local access with low-privilege authentication is required - this is not a remote network attack. EPSS exploitation probability of 0.02% (5th percentile) indicates security researchers assess actual exploitation likelihood as very low. No CISA KEV listing exists, and no public exploit code has been identified at time of analysis. Exploitation requires specific stacked network topologies (non-Ethernet devices like GRE or IPIP aggregated under team driver) combined with local access to trigger network operations - a narrow attack surface. The vulnerability's impact (memory corruption potentially leading to privilege escalation) is severe IF exploited, but the prerequisite configuration is uncommon in production environments. Patches are widely available across all active kernel branches. Priority should be moderate: apply patches during regular maintenance windows unless systems specifically use team driver with non-Ethernet lower devices, in which case urgency increases.

Exploit ScenarioDerived

A local attacker with low-privilege user access on a Linux system configured with stacked network topology (e.g., GRE tunnel enslaved to bonding interface, bonding enslaved to team device) triggers network packet transmission through the team interface. The team driver's header_ops callbacks execute with incorrect device context, causing netdev_priv() type confusion that corrupts kernel memory. The attacker leverages this memory corruption to escalate privileges to root or cause denial of service through kernel crash.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 27, 2026

Type confusion in Linux kernel team driver allows local authenticated users to trigger memory corruption and potential privilege escalation. The team_setup_by_port() function incorrectly copies header_ops from non-Ethernet lower devices (such as GRE interfaces) without proper context validation, causing callbacks like dev_hard_header() to interpret netdev_priv() as the wrong structure type when processing stacked network topologies (e.g., gre → bond → team). While CVSS rates this 7.8 (High), EPSS probability is very low at 0.02% (5th percentile), and no active exploitation or public POC has been identified. Vendor patches are available across multiple stable kernel branches (6.12.80, 6.18.21, 6.19.11, 7.0).

RemediationAI

Update to patched kernel versions: 6.12.80 or later for 6.12.x stable series, 6.18.21 or later for 6.18.x series, 6.19.11 or later for 6.19.x series, or upgrade to 7.0 or later. Mainline fix commit is 6d3161fa3eee64d46b766fb0db33ec7f300ef52d. Patch commits for each branch are available at https://git.kernel.org/stable/ (see references for specific commit hashes). If immediate patching is not feasible, implement these compensating controls: (1) Avoid configuring team network devices over non-Ethernet lower devices (GRE, IPIP, SIT tunnels) - reconfigure to use team only with physical Ethernet or VLAN interfaces; trade-off is loss of tunnel aggregation capability. (2) Disable team driver module if not operationally required (echo 'blacklist team' >> /etc/modprobe.d/disable-team.conf and reboot); side effect is inability to use team-based link aggregation. (3) Restrict local user access to network configuration capabilities via appropriate AppArmor/SELinux policies limiting CAP_NET_ADMIN; reduces attack surface but does not eliminate risk from privileged local users. Monitor for kernel crashes in bond_header_create or team_hard_header functions as potential exploitation indicators.

Affected VersionsENISA

Linux 1d76efe1577b4323609b1bcbfafa8b731eda071a <0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0
Linux patch: 0
Linux 3.7
Linux 1d76efe1577b4323609b1bcbfafa8b731eda071a <20491d384d973a63fbdaf7a71e38d69b0659ea55
Linux 1d76efe1577b4323609b1bcbfafa8b731eda071a <6d3161fa3eee64d46b766fb0db33ec7f300ef52d
Linux patch: 6.12.80
Linux 1d76efe1577b4323609b1bcbfafa8b731eda071a <425000dbf17373a4ab8be9428f5dc055ef870a56
Linux patch: 7.0
Linux patch: 6.19.11
Linux patch: 6.18.21

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The Linux kernel team driver implements link aggregation similar to bonding. When configuring a team device over non-Ethernet lower devices (e.g., GRE tunnels, IPIP), the team_setup_by_port() function directly copies the port_dev->header_ops function pointers without creating wrapper functions. This causes a dangerous type confusion: when the team device later invokes dev_hard_header() or dev_parse_header(), these callbacks receive the team net_device structure but execute code expecting the original lower device type. The netdev_priv() macro then returns a pointer to team-specific private data, which gets misinterpreted as bonding or GRE private structures, leading to out-of-bounds memory access. This is architecturally similar to CVE-2024-XXXXX in bonding (commit 950803f72547). The fix introduces wrapper functions (team_header_create, team_header_parse) that select the appropriate lower port device under RCU lock before delegating to the real header_ops callbacks, ensuring type safety across recursive network device stacks.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 6.4 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 14:47 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
HIGH 7.8

DescriptionCVE.org

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

team: fix header_ops type confusion with non-Ethernet ports

Similar to commit 950803f72547 ("bonding: fix type confusion in bond_setup_by_slave()") team has the same class of header_ops type confusion.

For non-Ethernet ports, team_setup_by_port() copies port_dev->header_ops directly. When the team device later calls dev_hard_header() or dev_parse_header(), these callbacks can run with the team net_device instead of the real lower device, so netdev_priv(dev) is interpreted as the wrong private type and can crash.

The syzbot report shows a crash in bond_header_create(), but the root cause is in team: the topology is gre -> bond -> team, and team calls the inherited header_ops with its own net_device instead of the lower device, so bond_header_create() receives a team device and interprets netdev_priv() as bonding private data, causing a type confusion crash.

Fix this by introducing team header_ops wrappers for create/parse, selecting a team port under RCU, and calling the lower device callbacks with port->dev, so each callback always sees the correct net_device context.

Also pass the selected lower device to the lower parse callback, so recursion is bounded in stacked non-Ethernet topologies and parse callbacks always run with the correct device context.

Executive ViewAI

Why It Matters

CVE-2026-31502 is a privilege escalation vulnerability in the Linux kernel team driver that allows authenticated local users to corrupt memory through type confusion in network interface stacking scenarios. This affects organizations running vulnerable kernel versions on systems where local user access is permitted, potentially enabling unauthorized privilege escalation and system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, restrict local user shell access and implement AppArmor or SELinux policies to prevent unprivileged users from loading or manipulating team driver interfaces and network stacking configurations (gre, bond, team devices).

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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