net: stmmac: fix dma mapping leak in stmmac_tso_xmit()
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.
CVE-2026-98131
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98131
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "f748be531d7012c456b97f66091d86b3675c5fef",
"lessThan": "c5449b635362cb678d29d8f6ab54e65734d891ce",
"versionType": "git"
},
{
"status": "affected",
"version": "f748be531d7012c456b97f66091d86b3675c5fef",
"lessThan": "8a3257f142ae513d0c96d42f97386d4941bcec29",
"versionType": "git"
},
{
"status": "affected",
"version": "f748be531d7012c456b97f66091d86b3675c5fef",
"lessThan": "e85adaac3dc6317cae902372c6849189ec62cf7d",
"versionType": "git"
},
{
"status": "affected",
"version": "f748be531d7012c456b97f66091d86b3675c5fef",
"lessThan": "a5d946466a95621fa2769720d59ea336003aa1a5",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.7"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.7",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98131
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48859 · Revision 1
- Added to Heist Feed
- Publisher date