{"id":"CVE-2025-21987","summary":"drm/amdgpu: init return value in amdgpu_ttm_clear_buffer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: init return value in amdgpu_ttm_clear_buffer\n\nOtherwise an uninitialized value can be returned if\namdgpu_res_cleared returns true for all regions.\n\nPossibly closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3812\n\n(cherry picked from commit 7c62aacc3b452f73a1284198c81551035fac6d71)","modified":"2026-04-02T12:45:18.131513Z","published":"2025-04-02T12:30:11.811Z","related":["SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21987.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5bd98c2df4a0f2e2dcbdf563feb8d348406377b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2c9625b0ade41f9917875d88173a0cc802b95fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3c7059b6a8600fc62cd863f1ea203b8675e63e1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21987.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21987"},{"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":"a68c7eaa7a8ffdec9287ba1561a668d674c20a13"},{"fixed":"d2c9625b0ade41f9917875d88173a0cc802b95fc"},{"fixed":"5bd98c2df4a0f2e2dcbdf563feb8d348406377b5"},{"fixed":"d3c7059b6a8600fc62cd863f1ea203b8675e63e1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21987.json"}}],"schema_version":"1.7.5"}