net: lan966x: fix page pool leak in error paths
In the Linux kernel, the following vulnerability has been resolved: net: lan966x: fix page pool leak in error paths lan966x_fdma_rx_alloc() creates a page pool but does not destroy it if the subsequent fdma_alloc_coherent() call fails, leaking the pool. Similarly, lan966x_fdma_init() frees the coherent DMA memory when lan966x_fdma_tx_alloc() fails but does not destroy the page pool that was successfully created by lan966x_fdma_rx_alloc(), leaking it. Add the missing page_pool_destroy() calls in both error paths.
CVE-2026-31645
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-31645
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": "11871aba19748b3387e83a2db6360aa7119e9a1a",
"lessThan": "a229a4dc87302fa131f3394b09b0efd8c255a5ac",
"versionType": "git"
},
{
"status": "affected",
"version": "11871aba19748b3387e83a2db6360aa7119e9a1a",
"lessThan": "73e940c4249dc5ec6422d1fae535d192fb125955",
"versionType": "git"
},
{
"status": "affected",
"version": "11871aba19748b3387e83a2db6360aa7119e9a1a",
"lessThan": "22e1ee9f22b5c3bb702bb6d4167d770002a85b2b",
"versionType": "git"
},
{
"status": "affected",
"version": "11871aba19748b3387e83a2db6360aa7119e9a1a",
"lessThan": "4941e234cfd67ac911fb259642b453f9f76aac41",
"versionType": "git"
},
{
"status": "affected",
"version": "11871aba19748b3387e83a2db6360aa7119e9a1a",
"lessThan": "076344a6ad9d1308faaed1402fdcfdda68b604ab",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/microchip/lan966x/lan966x_fdma.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.2"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.82",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.23",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.13",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-31645
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46234 · Revision 1
- Added to Heist Feed
- Publisher date