CVE-2025-40185
not scored yetIn 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:
- Check if adapter already exists (xa_load)
- Reserve the XArray slot (xa_reserve)
- Allocate the adapter (ice_adapter_new)
- Store the adapter (xa_store)
- Published
- 12 Nov 2025
- Last modified
- 19 Oct 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Deferred
- Sources
- NVDJSON
References
- https://git.kernel.org/stable/c/2db687f3469dbc5c59bc53d55acafd75d530b497
- https://git.kernel.org/stable/c/794abb265de3e792167fe3ea0440c064c722bb84
- https://git.kernel.org/stable/c/7b9269de9815fc34d93dab90bd5169bacbe78e70
History
- 25 Nov 2026 20:59 UTC ยท NVD: first stored (published 12 Nov 2025)