CVE-2025-21987

Source
https://cve.org/CVERecord?id=CVE-2025-21987
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21987.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21987
Downstream
Related
Published
2025-04-02T12:30:11.811Z
Modified
2026-03-11T07:51:26.975741Z
Summary
drm/amdgpu: init return value in amdgpu_ttm_clear_buffer
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: init return value in amdgputtmclear_buffer

Otherwise an uninitialized value can be returned if amdgpurescleared returns true for all regions.

Possibly closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3812

(cherry picked from commit 7c62aacc3b452f73a1284198c81551035fac6d71)

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21987.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2025-21987.json"