drm/amdgpu: init return value in amdgpu_ttm_clear_buffer (Linux Linux)

CVE-2025-21987
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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)

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a68c7eaa7a8ffdec9287ba1561a668d674c20a13 < d2c9625b0ade41f9917875d88173a0cc802b95fc ; affected a68c7eaa7a8ffdec9287ba1561a668d674c20a13 < 5bd98c2df4a0f2e2dcbdf563feb8d348406377b5 ; affected a68c7eaa7a8ffdec9287ba1561a668d674c20a13 < d3c7059b6a8600fc62cd863f1ea203b8675e63e1
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.12.18 ≤ 6.12.* ; unaffected 6.13.6 ≤ 6.13.* ; unaffected 6.14 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD