CVE-2025-37852: drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()

Published May 9, 2025
·
Updated

drm/amdgpu: handle amdgpucgscreatedevice() errors in amdpowerplaycreate()

Affected Software

10 affected componentsFixes available
Linux Linux kernel>v1<=v2
Linux Linux kernel<6.1.135
Linux Linux kernel>=6.2<6.6.88
Linux Linux kernel>=6.7<6.12.24
Linux Linux kernel>=6.13<6.13.12
Linux Linux kernel>=6.14<6.14.3
Debian Debian Linux=11.0
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 kernel 6.6.85.1-4<6.6.92.2-1
6.6.92.2-1
Microsoft azl3 kernel 6.6.92.2-1<6.6.92.2-1
6.6.92.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.92.2-1
  2. Configuration

    In amd_powerplay_create(), handle failures from amdgpu_cgs_create_device() by returning -ENOMEM to the caller (v1 changed from -EINVAL to -ENOMEM in v2), after releasing hwmgr when amdgpu_cgs_create_device() fails to prevent a null pointer dereference.

    Linux kernel DRM/amdgpu (amd_powerplay_create) amdgpu_cgs_create_device() failure handling = return -ENOMEM

Event History

May 9, 2025
CVE Published
via MITRE·06:41 AM
Data Sourced
via MITRE·06:41 AM
Description
Data Sourced
via NVD·07:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Updated
via Microsoft·07:00 AM
WeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37852?

CVE-2025-37852 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-37852?

To fix CVE-2025-37852, update your Linux kernel to the latest version where this vulnerability is patched.

3

What are the potential impacts of CVE-2025-37852?

The potential impact of CVE-2025-37852 includes instability in graphics processing or potential resource leaks due to improper error handling.

4

Which versions of Linux kernel are affected by CVE-2025-37852?

CVE-2025-37852 affects specific versions of the Linux kernel prior to the patch, particularly between versions v1 and v2.

5

Is there a workaround for CVE-2025-37852?

While updating the kernel is the best solution, temporary workarounds may involve disabling certain functionalities reliant on affected components.

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