CVE-2025-40185 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ice: ice_adapter: release xa entry on adapter allocation failure When ice_adapter_new() fails, the reserved XArray entry created by xa_insert() is not released. This causes subsequent insertions at the same index to return -EBUSY, potentially leading to NULL pointer dereferences. Reorder the operations as suggested by Przemek Kitszel: 1. Check if adapter already exists (xa_load) 2. Reserve the XArray slot (xa_reserve) 3. Allocate the adapter (ice_adapter_new) 4. Store the adapter (xa_store)
A vulnerability exists in the Linux kernel's handling of Intel Ice adapters. When the function 'ice_adapter_new()' fails, the XArray entry that was reserved is not released. This oversight causes future insertions at the same index to fail, potentially leading to NULL pointer dereferences. The issue arises because the operations to check for an existing adapter, reserve a slot, allocate a new adapter, and store it are not properly ordered. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel. Users can apply the latest patches available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2db687f3469dbc5c59bc53d55acafd75d530b497 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/794abb265de3e792167fe3ea0440c064c722bb84 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7b9269de9815fc34d93dab90bd5169bacbe78e70 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Intel ice_adapter | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion