CVE-2025-21987

drm/amdgpu: init return value in amdgpu_ttm_clear_buffer

State
Published
Severity
Not scored
Published
Apr 2, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a68c7eaa7a8ffdec9287ba1561a668d674c20a13 to before d2c9625b0ade41f9917875d88173a0cc802b95fcAffected
  • a68c7eaa7a8ffdec9287ba1561a668d674c20a13 to before 5bd98c2df4a0f2e2dcbdf563feb8d348406377b5Affected
  • a68c7eaa7a8ffdec9287ba1561a668d674c20a13 to before d3c7059b6a8600fc62cd863f1ea203b8675e63e1Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.18 through 6.12.*Not affected
  • 6.13.6 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.