CVE-2026-45947: drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()

Published May 27, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix memory leak in amdgpuacpienumeratexcc()

In amdgpuacpienumeratexcc(), if amdgpuacpidevinit() returns -ENOMEM, the function returns directly without releasing the allocated xccinfo, resulting in a memory leak.

Fix this by ensuring that xccinfo is properly freed in the error paths.

Compile tested only. Issue found using a prototype static analysis tool and code review.

Affected Software

5 affected components
Linux Foundation Linux kernel (amdgpu)
Linux Linux kernel>=6.5<6.6.128
Linux Linux kernel>=6.7<6.12.75
Linux Linux kernel>=6.13<6.18.14
Linux Linux kernel>=6.19<6.19.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Modify amdgpu_acpi_enumerate_xcc() so that allocated xcc_info is properly freed on all error paths (for example when amdgpu_acpi_dev_init() returns -ENOMEM). Ensure xcc_info is released before returning from the function in error conditions.

    Linux kernel (drm/amdgpu) amdgpu_acpi_enumerate_xcc error path handling = free xcc_info on error

Event History

May 27, 2026
CVE Published
via MITRE·12:18 PM
Data Sourced
via MITRE·12:18 PM
Description
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45947?

The severity of CVE-2026-45947 is rated at 6.

2

How do I fix CVE-2026-45947?

To fix CVE-2026-45947, ensure that you update to the patched version of the Linux kernel that resolves the memory leak in amdgpu_acpi_enumerate_xcc().

3

What does CVE-2026-45947 affect?

CVE-2026-45947 affects the Linux kernel's amdgpu driver functionality.

4

What causes CVE-2026-45947?

CVE-2026-45947 is caused by a memory leak in amdgpu_acpi_enumerate_xcc() that occurs when amdgpu_acpi_dev_init() fails.

5

When was CVE-2026-45947 published?

CVE-2026-45947 was published on May 27, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203