Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.5
CVE-2025-21987: Linux kernel AMDGPU driver may return uninitialized data
CVE-2025-21987 · published 1 year ago
Summary
The AMDGPU graphics driver in the Linux kernel could send back data that was never set when certain memory regions are already cleared. This can lead to unpredictable behavior or expose internal information. Update the Linux kernel to the latest version that includes the fix.
What to do
- Update linux kernel to version 6.13.6.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | linux | linux_kernel |
>= 6.10, < 6.12.18 >= 6.13, < 6.13.6 6.14 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Linux | linux | kernel |
>= 6.13.0, < 6.13.6 Fix: upgrade to 6.13.6
|
Original advisory text
drm/amdgpu: init return value in amdgpu_ttm_clear_buffer
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)
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)
References
- https://git.kernel.org/stable/c/5bd98c2df4a0f2e2dcbdf563feb8d348406377b5 URL
- https://git.kernel.org/stable/c/d2c9625b0ade41f9917875d88173a0cc802b95fc URL
- https://git.kernel.org/stable/c/d3c7059b6a8600fc62cd863f1ea203b8675e63e1 URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21987... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-21987 Vendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git Product
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-908Use of Uninitialized Resource
Timeline
Published2 Apr 2025
Updated30 Oct 2026
First seen7 Mar 2026
Track software like this
Free during beta