{"id":"CVE-2025-37852","summary":"drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()\n\nAdd error handling to propagate amdgpu_cgs_create_device() failures\nto the caller. When amdgpu_cgs_create_device() fails, release hwmgr\nand return -ENOMEM to prevent null pointer dereference.\n\n[v1]-\u003e[v2]: Change error code from -EINVAL to -ENOMEM. Free hwmgr.","modified":"2026-04-02T12:47:38.042278Z","published":"2025-05-09T06:41:59.094Z","related":["SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37852.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1435e895d4fc967d64e9f5bf81e992ac32f5ac76"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22ea19cc089013b55c240134dbb2797700ff5a6a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/55ef52c30c3e747f145a64de96192e37a8fed670"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b784734811438f11533e2fb9e0deb327844bdb56"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc4380f34613eaae997b3ed263bd1cb3d0fd0075"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8693e1bae9c08233a2f535c3f412e157df32b33"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37852.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37852"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b905090d2bae2e6189511714a7b88691b439c5a1"},{"fixed":"55ef52c30c3e747f145a64de96192e37a8fed670"},{"fixed":"f8693e1bae9c08233a2f535c3f412e157df32b33"},{"fixed":"dc4380f34613eaae997b3ed263bd1cb3d0fd0075"},{"fixed":"22ea19cc089013b55c240134dbb2797700ff5a6a"},{"fixed":"b784734811438f11533e2fb9e0deb327844bdb56"},{"fixed":"1435e895d4fc967d64e9f5bf81e992ac32f5ac76"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37852.json"}}],"schema_version":"1.7.5"}