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

Read the record on cve.org

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

ProductVersions
LinuxLinux
  • b905090d2bae2e6189511714a7b88691b439c5a1 to before 55ef52c30c3e747f145a64de96192e37a8fed670Affected
  • b905090d2bae2e6189511714a7b88691b439c5a1 to before f8693e1bae9c08233a2f535c3f412e157df32b33Affected
  • b905090d2bae2e6189511714a7b88691b439c5a1 to before dc4380f34613eaae997b3ed263bd1cb3d0fd0075Affected
  • b905090d2bae2e6189511714a7b88691b439c5a1 to before 22ea19cc089013b55c240134dbb2797700ff5a6aAffected
  • b905090d2bae2e6189511714a7b88691b439c5a1 to before b784734811438f11533e2fb9e0deb327844bdb56Affected
  • b905090d2bae2e6189511714a7b88691b439c5a1 to before 1435e895d4fc967d64e9f5bf81e992ac32f5ac76Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 6.1.135 through 6.1.*Not affected
  • 6.6.88 through 6.6.*Not affected
  • 6.12.24 through 6.12.*Not affected
  • 6.13.12 through 6.13.*Not affected
  • 6.14.3 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

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.