ice: Fix memory leak in ice_set_ringparam()
In the Linux kernel, the following vulnerability has been resolved: ice: Fix memory leak in ice_set_ringparam() In ice_set_ringparam, tx_rings and xdp_rings are allocated before rx_rings. If the allocation of rx_rings fails, the code jumps to the done label leaking both tx_rings and xdp_rings. Furthermore, if the setup of an individual Rx ring fails during the loop, the code jumps to the free_tx label which releases tx_rings but leaks xdp_rings. Fix this by introducing a free_xdp label and updating the error paths to ensure both xdp_rings and tx_rings are properly freed if rx_rings allocation or setup fails. Compile tested only. Issue found using a prototype static analysis tool and code review.
CVE-2026-23389
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-23389
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": "fcea6f3da546b93050f3534aadea7bd96c1d7349",
"lessThan": "bddf04e3822e4fa38691433dd0750420d49a0dd6",
"versionType": "git"
},
{
"status": "affected",
"version": "fcea6f3da546b93050f3534aadea7bd96c1d7349",
"lessThan": "e0c211a0c26159058303712d6b4fbd1c88835e6d",
"versionType": "git"
},
{
"status": "affected",
"version": "fcea6f3da546b93050f3534aadea7bd96c1d7349",
"lessThan": "b23282218eca27b710111460b4964c8a456c6c44",
"versionType": "git"
},
{
"status": "affected",
"version": "fcea6f3da546b93050f3534aadea7bd96c1d7349",
"lessThan": "63dc317dfcd3faffd082c2bf3080f9ad070273da",
"versionType": "git"
},
{
"status": "affected",
"version": "fcea6f3da546b93050f3534aadea7bd96c1d7349",
"lessThan": "44ba32a892b72de3faa04b8cfb1f2f1418fdd580",
"versionType": "git"
},
{
"status": "affected",
"version": "fcea6f3da546b93050f3534aadea7bd96c1d7349",
"lessThan": "fe868b499d16f55bbeea89992edb98043c9de416",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/intel/ice/ice_ethtool.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.17"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.17",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.136",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.81",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.22",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.7",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/intel/ice/ice_ethtool.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-23389
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #27246 · Revision 1
- Added to Heist Feed
- Publisher date