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

Published Apr 2, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: init return value in amdgputtmclearbuffer

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)

Affected Software

7 affected components
Linux Kernel
Linux Linux kernel>=6.10<6.12.18
Linux Linux kernel>=6.13<6.13.6
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 7c62aacc3b452f73a1284198c81551035fac6d71

Event History

Apr 2, 2025
CVE Published
via MITRE·12:30 PM
Data Sourced
via MITRE·12:30 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21987?

CVE-2025-21987 has been assessed with a moderate severity level due to the potential impact on system stability.

2

How do I fix CVE-2025-21987?

To fix CVE-2025-21987, update to the latest stable release of the Linux kernel that includes the patch for this vulnerability.

3

What are the potential risks of CVE-2025-21987?

The primary risk associated with CVE-2025-21987 is the exposure to stability issues due to uninitialized values being returned.

4

Which systems are affected by CVE-2025-21987?

CVE-2025-21987 affects systems running vulnerable versions of the Linux kernel that include the amdgpu driver.

5

Is there a public exploit for CVE-2025-21987?

As of now, there are no known public exploits for CVE-2025-21987, but it is advisable to apply the patch to mitigate risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203