ACPI: platform: Use acpi_bus_get_primary_device() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ACPI: platform: Use acpi_bus_get_primary_device() The acpi_get_first_physical_node() usage in acpi_platform_fill_resource() and acpi_create_platform_device() is generally unsafe because in theory the device returned by it may be freed at any time [1]. It is also inefficient because acpi_get_first_physical_node() is called multiple times for the same argument which can be avoided. Address these issues by using acpi_bus_get_primary_device() instead of acpi_get_first_physical_node() and adjusting the code to call it just once at the beginning of and acpi_create_platform_device() and drop the device reference acquired by it upon the return from that function.
Weaknesses (CWE)
- CWE-416 — Use After Free
References
- https://git.kernel.org/stable/c/a75e5de593ef158feb17989bff7730c5a3d82503
- https://git.kernel.org/stable/c/527a497fb2ef77a95170eefe2007e2c4c957bd2c
- https://git.kernel.org/stable/c/73e34e371e6b05ffd9453c2062b2aa9e8fa770c0
- https://git.kernel.org/stable/c/c9d202d3b6c28e8c779cd2f2b10d2f7ab665ca71
- https://git.kernel.org/stable/c/a9ba4dd2f18bf3f439d9ef0d8f375f90360ba1bd
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-87069
- GCVE · GCVE-0-2026-100072
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.6 < 7.2.6
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 3b95bd160547f56a68aeb972c33ae9511e7a8380 < a75e5de593ef158feb17989bff7730c5a3d82503 affected : ≥ 3b95bd160547f56a68aeb972c33ae9511e7a8380 < 527a497fb2ef77a95170eefe2007e2c4c957bd2c affected : ≥ 3b95bd160547f56a68aeb972c33ae9511e7a8380 < 73e34e371e6b05ffd9453c2062b2aa9e8fa770c0 affected : ≥ 3b95bd160547f56a68aeb972c33ae9511e7a8380 < c9d202d3b6c28e8c779cd2f2b10d2f7ab665ca71 affected : ≥ 3b95bd160547f56a68aeb972c33ae9511e7a8380 < a9ba4dd2f18bf3f439d9ef0d8f375f90360ba1bd Other versions : unaffected |
| Linux · Linux | affected : 4.6 unaffected : ≥ 0 < 4.6 unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.66 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |