{"id":"CVE-2025-40185","published":"2025-11-12T21:56:28Z","modified":"2026-05-11T21:44:24Z","title":"ice: ice_adapter: release xa entry on adapter allocation failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: ice_adapter: release xa entry on adapter allocation failure\n\nWhen ice_adapter_new() fails, the reserved XArray entry created by\nxa_insert() is not released. This causes subsequent insertions at\nthe same index to return -EBUSY, potentially leading to\nNULL pointer dereferences.\n\nReorder the operations as suggested by Przemek Kitszel:\n1. Check if adapter already exists (xa_load)\n2. Reserve the XArray slot (xa_reserve)\n3. Allocate the adapter (ice_adapter_new)\n4. Store the adapter (xa_store)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00274,"percentile":0.12536,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7b9269de9815fc34d93dab90bd5169bacbe78e70","tags":[]},{"url":"https://git.kernel.org/stable/c/794abb265de3e792167fe3ea0440c064c722bb84","tags":[]},{"url":"https://git.kernel.org/stable/c/2db687f3469dbc5c59bc53d55acafd75d530b497","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.51}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0f0023c649c7bc50543fbe6e1801eb6357b8bd63, < 7b9269de9815fc34d93dab90bd5169bacbe78e70",">= 0f0023c649c7bc50543fbe6e1801eb6357b8bd63, < 794abb265de3e792167fe3ea0440c064c722bb84",">= 0f0023c649c7bc50543fbe6e1801eb6357b8bd63, < 2db687f3469dbc5c59bc53d55acafd75d530b497"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"euvd":{"id":"EUVD-2025-150389","exploited":false,"provenance":"source"}}