CVE-2025-21987

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-27T02:32:33.919630Z
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/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a68c7eaa7a8ffdec9287ba1561a668d674c20a13
Fixed
5bd98c2df4a0f2e2dcbdf563feb8d348406377b5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a68c7eaa7a8ffdec9287ba1561a668d674c20a13
Fixed
d3c7059b6a8600fc62cd863f1ea203b8675e63e1

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