What’s Vulnerable › Vulnerabilities

CVE-2025-21987: drm/amdgpu: init return value in amdgpu_ttm_clear_buffer

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.18, 6.13.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21987 or the next vulnerability affects your stack