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)
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21987.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21987.json"
[
{
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c",
"function": "amdgpu_ttm_clear_buffer"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bd98c2df4a0f2e2dcbdf563feb8d348406377b5",
"deprecated": false,
"digest": {
"function_hash": "8789444523917719013272238483749206889",
"length": 972.0
},
"id": "CVE-2025-21987-674a309c",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bd98c2df4a0f2e2dcbdf563feb8d348406377b5",
"deprecated": false,
"digest": {
"line_hashes": [
"15472326755441569190601638244061798975",
"263610145582419969612843600957371375643",
"41598153953111378747282975870744068874",
"217058534921270530898010476942023665997"
],
"threshold": 0.9
},
"id": "CVE-2025-21987-8ce8b5b7",
"signature_type": "Line"
}
]