CVE-2025-37852

drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()

published May 9, 2025

CVSS
—
EPSS
0%
Percentile
19.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00282 · 19.6th percentile
Published
2025-05-09T06:41Z
EPSS history
Timeline
  • 09 MAY 06:41Z
    drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
    cvelistv5