Advisory Published
Updated

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

First published: Wed Apr 02 2025(Updated: )

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)

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203