Skip to main content
VulnerabilityPublished Updated

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

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 29 Oct 2026, 23:17 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

AI-suggested

A fix for this vulnerability has been implemented in the Linux kernel by initializing the return value in the amdgpu_ttm_clear_buffer function. Users and administrators should apply the relevant Linux kernel updates that include this fix. No additional mitigation steps are indicated.

Description

CVE-2025-21987 is a medium severity vulnerability in the Linux kernel's AMD GPU driver (amdgpu). It involves an uninitialized return value in the function amdgpu_ttm_clear_buffer, which can occur if amdgpu_res_cleared returns true for all regions. This flaw was fixed by initializing the return value properly.

References

Community reviews

Loading reviews…