CVE-2026-98131

net: stmmac: fix dma mapping leak in stmmac_tso_xmit()

Published Sep 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: stmmac: fix dma mapping leak in stmmac_tso_xmit()

In stmmac_tso_xmit(), if the DMA mapping of an skb fragment fails, the
frame is dropped but the DMA mappings already created for the linear
part and for the fragments mapped before the failure are never
unmapped, leaking DMA mappings.

Fix the leak by walking back over the descriptors used by the frame and
releasing each of them with stmmac_free_tx_buffer(). Moreover, release
the descriptors with stmmac_release_tx_desc() unmapping the DMA buffers.

Analysis

AI-generated

Technical impact

In the Linux kernel, the stmmac_tso_xmit() function failed to unmap DMA buffers when a fragment mapping failed, causing the linear part and previously mapped fragments to remain mapped. This also relates to the memory leak weakness CWE-401. The leak of DMA descriptors can exhaust kernel resources, potentially leading to network failure or a kernel panic. The underlying weaknesses are resource and memory leaks as defined by CWE-772 and CWE-401.

Affected Systems

Linux kernel users who run the stmmac network driver before the stmmac_tso_xmit() fix. Any kernel version that includes the stmmac driver without the fixed DMA mapping release is affected. The issue is not vendor‑specific beyond the Linux kernel community; it impacts all distributions that ship the affected driver code.

Risk and Exploitability

The CVSS score is 5.5, indicating a medium severity. The EPSS score is <1%, suggesting a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Because the bug causes a DMA mapping leak, repeated failures can drain system resources and lead to denial of service. The likely attack vector, inferred from the driver behavior, is sending crafted network traffic that forces a DMA mapping failure during packet transmission, thereby draining the mapping pool. No publicly disclosed exploit exists, but the kernel‑level nature of the defect and the high potential impact warrant careful monitoring.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Linux kernel to a version that includes the stmmac_tso_xmit() fix.
  • Apply any vendor or distribution patches that address the stmmac driver.
  • Disable or remove the stmmac network driver, or limit network interfaces that rely on it, if an immediate kernel update is not available.

Generated by OpenCVE AI on October 8, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-3 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9174-2 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9191-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-401
CWE-772
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix dma mapping leak in stmmac_tso_xmit() In stmmac_tso_xmit(), if the DMA mapping of an skb fragment fails, the frame is dropped but the DMA mappings already created for the linear part and for the fragments mapped before the failure are never unmapped, leaking DMA mappings. Fix the leak by walking back over the descriptors used by the frame and releasing each of them with stmmac_free_tx_buffer(). Moreover, release the descriptors with stmmac_release_tx_desc() unmapping the DMA buffers.
Title net: stmmac: fix dma mapping leak in stmmac_tso_xmit()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:54 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Modified
Published
Sep 25, 2026, 11:17 AM
Modified
Oct 21, 2026, 1:21 PM
Severity
Moderate
Public date
Sep 25, 2026, 12:00 AM