CVE-2025-37852
MEDIUM 5.5CVSS 3.1In 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
- 9 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
< 6.1.135 | 6.1.135 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.88 | 6.6.88 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.24 | 6.12.24 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.13.12 | 6.13.12 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.14, < 6.14.3 | 6.14.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 |
References
- https://git.kernel.org/stable/c/1435e895d4fc967d64e9f5bf81e992ac32f5ac76 · Patch
- https://git.kernel.org/stable/c/22ea19cc089013b55c240134dbb2797700ff5a6a · Patch
- https://git.kernel.org/stable/c/55ef52c30c3e747f145a64de96192e37a8fed670 · Patch
- https://git.kernel.org/stable/c/b784734811438f11533e2fb9e0deb327844bdb56 · Patch
- https://git.kernel.org/stable/c/dc4380f34613eaae997b3ed263bd1cb3d0fd0075 · Patch
- https://git.kernel.org/stable/c/f8693e1bae9c08233a2f535c3f412e157df32b33 · Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html · Mailing List
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 May 2025)