ice: ice_adapter: release xa entry on adapter allocation failure (Linux Linux)

CVE-2025-40185
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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)

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 0f0023c649c7bc50543fbe6e1801eb6357b8bd63 < 7b9269de9815fc34d93dab90bd5169bacbe78e70 ; affected 0f0023c649c7bc50543fbe6e1801eb6357b8bd63 < 794abb265de3e792167fe3ea0440c064c722bb84 ; affected 0f0023c649c7bc50543fbe6e1801eb6357b8bd63 < 2db687f3469dbc5c59bc53d55acafd75d530b497
Linux · Linuxaffected 6.11 ; unaffected 0 < 6.11 ; unaffected 6.12.54 ≤ 6.12.* ; unaffected 6.17.4 ≤ 6.17.* ; unaffected 6.18 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD