net: stmmac: clear stale buf->page after recycling on skb build failure
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: clear stale buf->page after recycling on skb build failure In stmmac_rx(), when napi_build_skb() fails the descriptor page is recycled back to the page pool with page_pool_recycle_direct(), but buf->page is left pointing at the recycled page, unlike every other consumption site in the function which clears the pointer after handing the page away. With the stale pointer stmmac_rx_refill() skips the replacement allocation and programs the already-recycled page back into the RX descriptor. Clear buf->page on the napi_build_skb() failure path to keep the buffer lifecycle consistent with the other consumption sites.
CVE-2026-98571
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-98571
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": "df542f669307918f054a17878ff6dd1ddbb2fe18",
"lessThan": "501baaeca7d128fa0a2f6953cf5873c5b0d7cf89",
"versionType": "git"
},
{
"status": "affected",
"version": "df542f669307918f054a17878ff6dd1ddbb2fe18",
"lessThan": "298673397ea3f6f5811b84f0d9f71eac71dda2e3",
"versionType": "git"
},
{
"status": "affected",
"version": "df542f669307918f054a17878ff6dd1ddbb2fe18",
"lessThan": "0a7822e34a0bfde31b194ac3da3253e5032b44cc",
"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": "6.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.55",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.9",
"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-98571
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38591 · Revision 1
- Added to Heist Feed
- Publisher date