CVE-2025-37852 drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
A missing error check in the AMD GPU driver can cause a null pointer dereference, leading to a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37852?
CVE-2025-37852 is a medium-severity vulnerability in Debian Debian Linux, published on 9 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
Add error handling to propagate amdgpu_cgs_create_device() failures to the caller. When amdgpu_cgs_create_device() fails, release hwmgr and return -ENOMEM to prevent null pointer dereference.
[v1]->[v2]: Change error code from -EINVAL to -ENOMEM. Free hwmgr.
Weakness: CWE-476
Which versions are affected by CVE-2025-37852?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37852?
Apply the vendor's patch.
Is CVE-2025-37852 being exploited?
There is no known exploitation of CVE-2025-37852 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-70370, BELL-CVE-2025-37852, DEBIAN-CVE-2025-37852, GHSA-jpmq-5hpp-xf83, ROOT-OS-DEBIAN-11-CVE-2025-37852, ROOT-OS-DEBIAN-12-CVE-2025-37852 and 3 more.