CVE-2025-21987

published 2 Apr 2025 · updated 11 May 2026

drm/amdgpu: init return value in amdgpu_ttm_clear_buffer

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5bd98c2df4a0f2e2dcbdf563feb8d348406377b5, Kernel d2c9625b0ade41f9917875d88173a0cc802b95fc and Kernel d3c7059b6a8600fc62cd863f1ea203b8675e63e1.

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: init return value in amdgpu_ttm_clear_buffer Otherwise an uninitialized value can be returned if amdgpu_res_cleared returns true for all regions. Possibly closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3812 (cherry picked from commit 7c62aacc3b452f73a1284198c81551035fac6d71)

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.10, >=a68c7eaa7a8ffdec9287ba1561a668d674c20a13 <5bd98c2df4a0f2e2dcbdf563feb8d348406377b5, >=a68c7eaa7a8ffdec9287ba1561a668d674c20a13 <d2c9625b0ade41f9917875d88173a0cc802b95fc, >=a68c7eaa7a8ffdec9287ba1561a668d674c20a13 <d3c7059b6a8600fc62cd863f1ea203b8675e63e15bd98c2df4a0f2e2dcbdf563feb8d348406377b5, d2c9625b0ade41f9917875d88173a0cc802b95fc, d3c7059b6a8600fc62cd863f1ea203b8675e63e1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21987 severity on Zeptric[![CVE-2025-21987](https://zeptric.io/badge/cve/CVE-2025-21987.svg)](https://zeptric.io/cve/CVE-2025-21987)