Bug 2365251 (CVE-2025-37852) - CVE-2025-37852 kernel: drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
Summary: CVE-2025-37852 kernel: drm/amdgpu: handle amdgpu_cgs_create_device() errors i...
Keywords:
Status: NEW
Alias: CVE-2025-37852
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-09 07:01 UTC by OSIDB Bzimport
Modified: 2025-05-09 08:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-09 07:01:43 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.