CVE-2025-37852
kernel: drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · May 9, 2025
Updated · June 30, 2026
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.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified