drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()
Summary
| CVE | CVE-2026-45947 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-27 14:17:11 UTC |
| Updated | 2026-06-16 02:36:01 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000180000 probability, percentile 0.050770000 (date 2026-06-01)
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4d5275ab0b18d17697392aafd93e206e6b9de647 e87c73a80a12d337cf5f493c0956f6c2c9eafd80 git | Not specified |
| CNA | Linux | Linux | affected 4d5275ab0b18d17697392aafd93e206e6b9de647 18a7bbd11f17a7cd4c42fd5955d3675d68c692df git | Not specified |
| CNA | Linux | Linux | affected 4d5275ab0b18d17697392aafd93e206e6b9de647 d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596 git | Not specified |
| CNA | Linux | Linux | affected 4d5275ab0b18d17697392aafd93e206e6b9de647 7e4b612fe7a960d610c20260c9ee220bddd1b215 git | Not specified |
| CNA | Linux | Linux | affected 4d5275ab0b18d17697392aafd93e206e6b9de647 c9be63d565789b56ca7b0197e2cb78a3671f95a8 git | Not specified |
| CNA | Linux | Linux | affected 6.5 | Not specified |
| CNA | Linux | Linux | unaffected 6.5 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.128 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.75 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.14 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.4 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/7e4b612fe7a960d610c20260c9ee220bddd1b215 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/18a7bbd11f17a7cd4c42fd5955d3675d68c692df | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e87c73a80a12d337cf5f493c0956f6c2c9eafd80 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c9be63d565789b56ca7b0197e2cb78a3671f95a8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.