NULL pointer dereference in Linux
CVE-2025-37852
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 21.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions b905090d2bae2e6189511714a7b88691b439c5a1, 4.17, 0
- Linux Kernel
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/55ef52c30c3e747f145a64de96192e37a8fed670 (Patch)
- git.kernel.org/stable/c/f8693e1bae9c08233a2f535c3f412e157df32b33 (Patch)
- git.kernel.org/stable/c/dc4380f34613eaae997b3ed263bd1cb3d0fd0075 (Patch)
- git.kernel.org/stable/c/22ea19cc089013b55c240134dbb2797700ff5a6a (Patch)
- git.kernel.org/stable/c/b784734811438f11533e2fb9e0deb327844bdb56 (Patch)
- git.kernel.org/stable/c/1435e895d4fc967d64e9f5bf81e992ac32f5ac76 (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (Mailing List)