CVE-2025-37852
drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
- State
- Published
- Severity
- Not scored
- Published
- May 9, 2025
- Updated
- May 11, 2026
- Reserved
- Apr 16, 2025
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
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
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.