CVE-2025-37852

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

MEDIUM
5.5
CVSS Score
Published: May 9, 2025 at 06:41 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.1354.17 ≤ v < 6.1.1354.17 ≤ v < 6.12.244.17 ≤ v < 6.13.124.17 ≤ v < 6.14.34.17 ≤ v < 6.154.17 ≤ v < 6.6.886.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.886.7 ≤ v < 6.12.244.17b905090d2bae2e6189511714a7b88691b439c5a1
Vendor states this is fixed in 1435e895d4fc967d64e9f5bf81e992ac32f5ac76 (fixed)
Vendor states this is fixed in 22ea19cc089013b55c240134dbb2797700ff5a6a (fixed)
Vendor states this is fixed in 55ef52c30c3e747f145a64de96192e37a8fed670 (fixed)
Vendor states this is fixed in b784734811438f11533e2fb9e0deb327844bdb56 (fixed)
Vendor states this is fixed in dc4380f34613eaae997b3ed263bd1cb3d0fd0075 (fixed)
Vendor states this is fixed in f8693e1bae9c08233a2f535c3f412e157df32b33 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1435e895d4fc967d64e9f5bf81e992ac32f5ac76
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/22ea19cc089013b55c240134dbb2797700ff5a6a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/55ef52c30c3e747f145a64de96192e37a8fed670
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b784734811438f11533e2fb9e0deb327844bdb56
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dc4380f34613eaae997b3ed263bd1cb3d0fd0075
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f8693e1bae9c08233a2f535c3f412e157df32b33
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card