CVE-2026-98131

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

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 21, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f748be531d7012c456b97f66091d86b3675c5fef to before c5449b635362cb678d29d8f6ab54e65734d891ceAffected
  • f748be531d7012c456b97f66091d86b3675c5fef to before 8a3257f142ae513d0c96d42f97386d4941bcec29Affected
  • f748be531d7012c456b97f66091d86b3675c5fef to before e85adaac3dc6317cae902372c6849189ec62cf7dAffected
  • f748be531d7012c456b97f66091d86b3675c5fef to before a5d946466a95621fa2769720d59ea336003aa1a5Affected
LinuxLinux
  • 4.7Affected
  • before 4.7Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.