CVE-2025-37852

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

No CVSS score yet EPSS 0.28%

Published 9 May 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-37852

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37852 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b905090d2bae2e6189511714a7b88691b439c5a1, before 55ef52c30c3e747f145a64de96192e37a8fed670
affected from b905090d2bae2e6189511714a7b88691b439c5a1, before f8693e1bae9c08233a2f535c3f412e157df32b33
affected from b905090d2bae2e6189511714a7b88691b439c5a1, before dc4380f34613eaae997b3ed263bd1cb3d0fd0075
affected from b905090d2bae2e6189511714a7b88691b439c5a1, before 22ea19cc089013b55c240134dbb2797700ff5a6a
affected from b905090d2bae2e6189511714a7b88691b439c5a1, before b784734811438f11533e2fb9e0deb327844bdb56
affected from b905090d2bae2e6189511714a7b88691b439c5a1, before 1435e895d4fc967d64e9f5bf81e992ac32f5ac76
Other versions: unaffected
Linux
affected 4.17
unaffected before 4.17
unaffected from 6.1.135 up to and including 6.1.*
unaffected from 6.6.88 up to and including 6.6.*
unaffected from 6.12.24 up to and including 6.12.*
unaffected from 6.13.12 up to and including 6.13.*
unaffected from 6.14.3 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37852 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37852

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-37852
trivy image --scanners vuln IMAGE | grep CVE-2025-37852

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-37852 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.