ACPI: bus: Introduce acpi_bus_get_primary_device() (Linux Linux)

CVE-2026-93251
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: ACPI: bus: Introduce acpi_bus_get_primary_device() The function used for obtaining the first "physical" device for which the given ACPI one is the ACPI companion, acpi_get_first_physical_node(), may return a stale device pointer (mostly in theory) because acpi_unbind_one() may run as a whole after dropping the ACPI device's physical_node_lock in acpi_get_first_physical_node() and before it returns. The last reference to the "physical" device may be dropped then before the pointer to it is returned to the caller. If that happens and the acpi_get_first_physical_node() caller invokes get_device() on the pointer obtained from it, which is done by the majority of its callers, a use-after-free will occur. To prepare for addressing this problem, introduce a new function for getting the first "physical" device associated with the given ACPI one (the "primary physical device") that will also reference count the device in question before returning a pointer to it. Make that new function and acpi_get_first_physical_node() share the physical node list lookup code. No intentional functional impact.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 91e5687805885f9fceb60b95e950a3d3bdcf4764 < f912f88126e385f6cfcd1a28de73afb7d3943c8d
affectée : ≥ 91e5687805885f9fceb60b95e950a3d3bdcf4764 < 50ddd82b88b1d1cc467b5df953344c1a9feec268
affectée : ≥ 91e5687805885f9fceb60b95e950a3d3bdcf4764 < fd4f907b558721716da30acd6630191acf811b95
affectée : ≥ 91e5687805885f9fceb60b95e950a3d3bdcf4764 < ebdd932dc24c1cf7cc31710b7730515e4e66d886
affectée : ≥ 91e5687805885f9fceb60b95e950a3d3bdcf4764 < 5657859851abb65105220a6cdb5804926249f714
affectée : ≥ 91e5687805885f9fceb60b95e950a3d3bdcf4764 < 72530e1f72b0515a73fd88292254d04fecf03649
Autres versions : non affectée
Linux · Linux
affectée : 3.8
non affectée : ≥ 0 < 3.8
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.57 ≤ 6.18.*
non affectée : ≥ 7.2.6 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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