CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

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.

Classification

CVE ID: CVE-2025-37852

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 7.64% (scored less or equal to compared to others)

EPSS Date: 2025-06-07 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-37852
https://git.kernel.org/stable/c/55ef52c30c3e747f145a64de96192e37a8fed670
https://git.kernel.org/stable/c/f8693e1bae9c08233a2f535c3f412e157df32b33
https://git.kernel.org/stable/c/dc4380f34613eaae997b3ed263bd1cb3d0fd0075
https://git.kernel.org/stable/c/22ea19cc089013b55c240134dbb2797700ff5a6a
https://git.kernel.org/stable/c/b784734811438f11533e2fb9e0deb327844bdb56
https://git.kernel.org/stable/c/1435e895d4fc967d64e9f5bf81e992ac32f5ac76

Timeline