CVE-2026-45947
drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()
MEDIUM 5.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc() In amdgpu_acpi_enumerate_xcc(), if amdgpu_acpi_dev_init() returns -ENOMEM, the function returns directly without releasing the allocated xcc_info, resulting in a memory leak. Fix this by ensuring that xcc_info is properly freed in the error paths. Compile tested only. Issue found using a prototype static analysis tool and code review.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
- https://git.kernel.org/stable/c/e87c73a80a12d337cf5f493c0956f6c2c9eafd80
- https://git.kernel.org/stable/c/18a7bbd11f17a7cd4c42fd5955d3675d68c692df
- https://git.kernel.org/stable/c/d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596
- https://git.kernel.org/stable/c/7e4b612fe7a960d610c20260c9ee220bddd1b215
- https://git.kernel.org/stable/c/c9be63d565789b56ca7b0197e2cb78a3671f95a8
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-32231
- GCVE · GCVE-0-2026-45947
CERT-FR advisories
- CERTFR-2026-AVI-1064 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0927 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0861 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — 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:*:*:*:*:*:*:*:*≥ 6.5 < 6.6.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.14cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 4d5275ab0b18d17697392aafd93e206e6b9de647 < e87c73a80a12d337cf5f493c0956f6c2c9eafd80 ; affected 4d5275ab0b18d17697392aafd93e206e6b9de647 < 18a7bbd11f17a7cd4c42fd5955d3675d68c692df ; affected 4d5275ab0b18d17697392aafd93e206e6b9de647 < d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596 ; affected 4d5275ab0b18d17697392aafd93e206e6b9de647 < 7e4b612fe7a960d610c20260c9ee220bddd1b215 ; affected 4d5275ab0b18d17697392aafd93e206e6b9de647 < c9be63d565789b56ca7b0197e2cb78a3671f95a8 |
| Linux · Linux | affected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.128 ≤ 6.6.* ; unaffected 6.12.75 ≤ 6.12.* ; unaffected 6.18.14 ≤ 6.18.* ; unaffected 6.19.4 ≤ 6.19.* |
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 |