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-05-15T11:54:25.812859926Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21987.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.12.18
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21987.json"