Skip to main content

Linux Kernel CVE-2026-31649

| EUVDEUVD-2026-25542 CRITICAL
Integer Overflow or Wraparound (CWE-190)
2026-04-24 Linux GHSA-jv6m-v86w-343p
Critical
Disputed · 9.8 Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Send crafted packets with fragmented sk_buff layout
  2. Delivery
    Trigger stmmac jumbo_frm() chain mode
  3. Exploit
    Integer underflow in buffer calculation
  4. Install
    Massive loop iteration DMA-mapping kernel memory
  5. C2
    Hardware reads/writes arbitrary kernel addresses
  6. Execute
    Extract leaked data or corrupt memory
  7. Impact
    Escalate privileges or cause DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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

Vulnerable system must use stmmac network driver (STMicroelectronics MAC or Synopsys DesignWare Ethernet controller hardware) with chain mode DMA and jumbo frame support enabled (common default configuration for stmmac). Attack requires ability to send network packets to the stmmac interface-typically layer 2/3 access on the same local network segment, though could be internet-reachable if device has public IP. Exploitation triggered by packets crafted to produce sk_buff memory layouts with linear portion ≤ bmax (2048 or 8192 bytes depending on configuration) AND total packet length > jumbo threshold, achievable through TCP segmentation offload (TSO), generic segmentation offload (GSO), zero-copy socket operations (MSG_ZEROCOPY), or sendfile() system calls that create paged sk_buff structures. Platform must lack IOMMU protection (typical for cost-optimized embedded ARM/MIPS SoCs where stmmac is deployed). No privilege level required-attack succeeds against default configurations from unauthenticated remote network position. Does not require user interaction or non-default kernel configuration. Limits exploitation: (1) specific stmmac hardware dependency eliminates most server/desktop Linux, (2) local network access typically required rather than internet-wide exploitation, (3) successful memory disclosure requires predicting or observing DMA buffer contents.

Impact

Real-world risk requires nuanced evaluation despite CVSS 9.8 Critical rating. The CVSS vector AV:N/AC:L/PR:N/UI:N indicates network-reachable unauthenticated attack, but several factors reduce practical exploitability: (1) Attack requires stmmac network driver which is specific to STMicroelectronics, Synopsys DesignWare, and certain embedded SoC platforms (not x86 servers), significantly limiting attack surface. (2) Successful exploitation requires crafting packets with specific sk_buff memory layouts (small linear data + large paged fragments) which depends on kernel networking stack behavior, socket options, and protocol implementation. (3) Without IOMMU, attackers can trigger DMA operations but cannot directly control which kernel memory addresses are mapped or predict DMA buffer contents without additional information leaks. (4) EPSS score of 0.02% (7th percentile) indicates security community assessment of low real-world exploitation likelihood. (5) No CISA KEV listing and no public POC identified at time of analysis. (6) Exploitation likely requires local network access to stmmac-equipped embedded devices rather than internet-wide scanning. Priority should focus on embedded/IoT products, automotive systems, industrial controllers, and network appliances using affected kernel versions on IOMMU-less ARM/MIPS platforms. General-purpose Linux servers on x86 with Intel/Broadcom NICs are not affected. Patch urgency: HIGH for embedded stmmac deployments with network exposure, MEDIUM for isolated/trusted network segments, LOW for non-stmmac systems.

Exploit ScenarioDerived

Attacker on the same network segment as a Linux embedded device using stmmac Ethernet (e.g., industrial PLC, automotive gateway, network appliance) sends specially crafted packets with TCP segmentation offload or zero-copy socket operations that produce sk_buff structures with 512 bytes linear data but 10KB paged fragments. The stmmac driver's jumbo frame logic triggers integer underflow, causing hundreds of thousands of DMA map operations exposing random kernel memory regions. Attacker captures subsequent network frames containing leaked kernel data (memory addresses, cryptographic keys, process data) or triggers memory corruption leading to privilege escalation or denial of service. No public POC exists at time of analysis, but exploitation complexity is LOW per CVSS assessment once packet crafting techniques are developed.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
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

Integer underflow in Linux kernel stmmac network driver allows kernel memory disclosure and potential corruption via crafted network packets. The flaw occurs in chain mode jumbo frame handling when packets have small linear data but large total length from page fragments, causing buffer offset calculations to wrap to ~0xFFFFxxxx. This triggers massive loop iterations that DMA-map arbitrary kernel memory to the network hardware. On typical stmmac deployments (IOMMU-less embedded SoCs), attackers can remotely read kernel memory contents and potentially corrupt memory through hardware DMA operations. EPSS exploitation probability is low (0.02%) with no confirmed active exploitation, but CVSS 9.8 reflects the theoretical remote unauthenticated attack surface. Vendor patches available across all supported stable kernel branches (5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, 7.0).

RemediationAI

Apply vendor-released kernel patches immediately for affected stable branches: upgrade to Linux 5.10.253+ (commit 51f4e090b9f87b40c21b6daadb5c06e6c0a07b67), 5.15.203+ (commit 2c91b39912278d0878f9ba60ba04d2518b18a08d), 6.1.169+ (commit 513e06735f5be575b409d195822195348b164e48), 6.6.135+ (commit b7b8012193fd98236d7ae05d4b553f010a77b2ef), 6.12.82+ (commit 6fca757c20396dc2e604dcc61922264e9e3dc803), 6.18.23+ (commit a2b68a9a476b9544ff31f1fbcd5d80867a8a5e2f), 6.19.13+ (commit 10d12b9240ebf96c785f0e2e4228318cd5f3a3eb), or mainline 7.0+ (commit 275bdf762e82082f064e60a92448fa2ac43cf95b). Full patch commit history available at https://git.kernel.org/stable/ references. For systems unable to immediately patch: (1) Disable jumbo frame support on stmmac interfaces via ethtool -G <interface> rx <standard_MTU> tx <standard_MTU> to force standard 1500-byte MTU, eliminating jumbo_frm() code path entirely (side effect: reduced throughput for large transfers, breaks protocols requiring jumbo frames). (2) Enable IOMMU support if hardware provides it (Intel VT-d, ARM SMMU) to sandbox DMA operations, preventing kernel memory exposure even if underflow occurs (configuration complexity, potential performance impact). (3) Implement network segmentation to restrict stmmac interface exposure to trusted networks only, reducing remote attack surface (does not prevent attacks from compromised trusted clients). Verify patch application by checking kernel version with uname -r and confirming stmmac module version matches patched commits.

Affected VersionsENISA

Linux patch: 6.6.135
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <b7b8012193fd98236d7ae05d4b553f010a77b2ef
Linux patch: 5.10.253
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <51f4e090b9f87b40c21b6daadb5c06e6c0a07b67
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <513e06735f5be575b409d195822195348b164e48
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <275bdf762e82082f064e60a92448fa2ac43cf95b
Linux patch: 6.1.169
Linux patch: 6.12.82
Linux patch: 0
Linux patch: 7.0
Linux patch: 6.19.13
Linux patch: 5.15.203
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <2c91b39912278d0878f9ba60ba04d2518b18a08d
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <6fca757c20396dc2e604dcc61922264e9e3dc803
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <10d12b9240ebf96c785f0e2e4228318cd5f3a3eb
Linux 3.2
Linux 286a837217204b1ef105e3a554d0757e4fdfaac1 <a2b68a9a476b9544ff31f1fbcd5d80867a8a5e2f
Linux patch: 6.18.23

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 stmmac (ST Microelectronics MAC) Ethernet driver implements jumbo frame transmission using descriptor chains. The vulnerability exists in the jumbo_frm() function which performs unsigned integer arithmetic: len = nopaged_len - bmax, where nopaged_len is the linear portion of an sk_buff (skb_headlen) and bmax is the descriptor buffer size (8KiB or 2KiB). The parent function stmmac_xmit() decides whether to invoke jumbo_frm() based on total packet length (skb->len including paged fragments), creating a logic gap. When sk_buff structures contain minimal linear data but substantial page fragments (common in zero-copy networking and TCP segmentation offload), nopaged_len can be smaller than bmax while total skb->len exceeds the jumbo threshold. The resulting unsigned underflow produces values approaching UINT_MAX, causing a while(len != 0) loop to iterate hundreds of thousands of times. Each iteration calls dma_map_single() with incrementally offset pointers (skb->data + bmax * i) that extend far beyond the actual skb buffer boundaries. On embedded ARM/MIPS SoCs using stmmac without IOMMUs (typical for automotive, industrial, and networking appliances), these out-of-bounds DMA mappings directly expose kernel memory to the network hardware, creating both confidentiality (memory reads) and integrity (DMA writes) vulnerabilities. Affected CPE strings confirm impact across all Linux kernel versions containing commit 286a837217204b1ef105e3a554d0757e4fdfaac1 (introduced in 3.2 era) through current mainline.

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

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 6.0 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 20:13 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:45 nvd
CRITICAL 9.8

DescriptionCVE.org

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

net: stmmac: fix integer underflow in chain mode

The jumbo_frm() chain-mode implementation unconditionally computes

len = nopaged_len - bmax;

where nopaged_len = skb_headlen(skb) (linear bytes only) and bmax is BUF_SIZE_8KiB or BUF_SIZE_2KiB. However, the caller stmmac_xmit() decides to invoke jumbo_frm() based on skb->len (total length including page fragments):

is_jumbo = stmmac_is_jumbo_frm(priv, skb->len, enh_desc);

When a packet has a small linear portion (nopaged_len <= bmax) but a large total length due to page fragments (skb->len > bmax), the subtraction wraps as an unsigned integer, producing a huge len value (~0xFFFFxxxx). This causes the while (len != 0) loop to execute hundreds of thousands of iterations, passing skb->data + bmax * i pointers far beyond the skb buffer to dma_map_single(). On IOMMU-less SoCs (the typical deployment for stmmac), this maps arbitrary kernel memory to the DMA engine, constituting a kernel memory disclosure and potential memory corruption from hardware.

Fix this by introducing a buf_len local variable clamped to min(nopaged_len, bmax). Computing len = nopaged_len - buf_len is then always safe: it is zero when the linear portion fits within a single descriptor, causing the while (len != 0) loop to be skipped naturally, and the fragment loop in stmmac_xmit() handles page fragments afterward.

Threat Intelligence Overview

Threat Score
4.0/10
Composite threat intelligence
EPSS Score
0.0%
Top 93% exploitable
Threat Intel
2
1 source
Data Quality
7 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Vendor StatusVendor

SUSE

Severity: Critical
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

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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