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

CVE-2026-98131
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ f748be531d7012c456b97f66091d86b3675c5fef < c5449b635362cb678d29d8f6ab54e65734d891ce
affectée : ≥ f748be531d7012c456b97f66091d86b3675c5fef < 8a3257f142ae513d0c96d42f97386d4941bcec29
affectée : ≥ f748be531d7012c456b97f66091d86b3675c5fef < e85adaac3dc6317cae902372c6849189ec62cf7d
affectée : ≥ f748be531d7012c456b97f66091d86b3675c5fef < a5d946466a95621fa2769720d59ea336003aa1a5
Autres versions : non affectée
Linux · Linux
affectée : 4.7
non affectée : ≥ 0 < 4.7
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.57 ≤ 6.18.*
non affectée : ≥ 7.2.7 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD