{"id":"CVE-2025-37852","aliases":["CVE-2025-37852"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()","summary":"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]->[v2]: Change error code from -EINVAL to -ENOMEM. Free hwmgr.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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]->[v2]: Change error code from -EINVAL to -ENOMEM. Free hwmgr.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amdgpu: manejo de errores de amdgpu_cgs_create_device() en amd_powerplay_create(). Se ha añadido el manejo de errores para propagar los fallos de amdgpu_cgs_create_device() al llamador. Cuando amdgpu_cgs_create_device() falla, se libera hwmgr y se devuelve -ENOMEM para evitar la desreferencia de punteros nulos. [v1]-&gt;[v2]: Se ha cambiado el código de error de -EINVAL a -ENOMEM. Se ha liberado hwmgr.","source":"nvd"}],"published":"2025-05-09T06:41:59.094Z","modified":"2026-06-17T09:15:34.077Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"b905090d2bae2e6189511714a7b88691b439c5a1","fixed":"55ef52c30c3e747f145a64de96192e37a8fed670","status":"affected"},{"type":"git","introduced":"b905090d2bae2e6189511714a7b88691b439c5a1","fixed":"f8693e1bae9c08233a2f535c3f412e157df32b33","status":"affected"},{"type":"git","introduced":"b905090d2bae2e6189511714a7b88691b439c5a1","fixed":"dc4380f34613eaae997b3ed263bd1cb3d0fd0075","status":"affected"},{"type":"git","introduced":"b905090d2bae2e6189511714a7b88691b439c5a1","fixed":"22ea19cc089013b55c240134dbb2797700ff5a6a","status":"affected"},{"type":"git","introduced":"b905090d2bae2e6189511714a7b88691b439c5a1","fixed":"b784734811438f11533e2fb9e0deb327844bdb56","status":"affected"},{"type":"git","introduced":"b905090d2bae2e6189511714a7b88691b439c5a1","fixed":"1435e895d4fc967d64e9f5bf81e992ac32f5ac76","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"6.1.135","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.88","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.24","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.12","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.3","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.1.135"},{"status":"affected","introduced":"6.2","fixed":"6.6.88"},{"status":"affected","introduced":"6.7","fixed":"6.12.24"},{"status":"affected","introduced":"6.13","fixed":"6.13.12"},{"status":"affected","introduced":"6.14","fixed":"6.14.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/55ef52c30c3e747f145a64de96192e37a8fed670","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8693e1bae9c08233a2f535c3f412e157df32b33","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc4380f34613eaae997b3ed263bd1cb3d0fd0075","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22ea19cc089013b55c240134dbb2797700ff5a6a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b784734811438f11533e2fb9e0deb327844bdb56","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1435e895d4fc967d64e9f5bf81e992ac32f5ac76","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37852","url":"https://www.cve.org/CVERecord?id=CVE-2025-37852","licence":"CVE Terms of Use","modified":"2026-05-11T21:16:21.316Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37852","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37852","licence":"Public domain","modified":"2026-06-17T09:15:34.077Z"}],"updatedAt":"2026-11-25T22:58:57.847Z","epss":{"score":0.00282,"percentile":0.22284,"date":"2026-12-01T12:00:22.000Z"}}