CVE-2026-45947

drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
May 27, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4d5275ab0b18d17697392aafd93e206e6b9de647 to before e87c73a80a12d337cf5f493c0956f6c2c9eafd80Affected
  • 4d5275ab0b18d17697392aafd93e206e6b9de647 to before 18a7bbd11f17a7cd4c42fd5955d3675d68c692dfAffected
  • 4d5275ab0b18d17697392aafd93e206e6b9de647 to before d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596Affected
  • 4d5275ab0b18d17697392aafd93e206e6b9de647 to before 7e4b612fe7a960d610c20260c9ee220bddd1b215Affected
  • 4d5275ab0b18d17697392aafd93e206e6b9de647 to before c9be63d565789b56ca7b0197e2cb78a3671f95a8Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.