CVE-2026-45947

drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:18 PM UTC
Updated: June 17, 2026 at 10:52 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.5 ≤ v < 6.12.756.5 ≤ v < 6.18.146.5 ≤ v < 6.19.46.5 ≤ v < 6.6.1286.5 ≤ v < 7.06.7 ≤ v < 6.12.754d5275ab0b18d17697392aafd93e206e6b9de6476.5
Vendor states this is fixed in 18a7bbd11f17a7cd4c42fd5955d3675d68c692df (fixed)
Vendor states this is fixed in 7e4b612fe7a960d610c20260c9ee220bddd1b215 (fixed)
Vendor states this is fixed in c9be63d565789b56ca7b0197e2cb78a3671f95a8 (fixed)
Vendor states this is fixed in d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596 (fixed)
Vendor states this is fixed in e87c73a80a12d337cf5f493c0956f6c2c9eafd80 (fixed)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card