drm/amd/display: Validate payload length and link_index in dc_process_dmub_aux_transfer_async (Linux Linux)

CVE-2026-64219
HIGH 7.0

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Validate payload length and link_index in dc_process_dmub_aux_transfer_async [Why&How] dc_process_dmub_aux_transfer_async() copies payload->length bytes into a 16-byte stack buffer (dpaux.data[16]) guarded only by an ASSERT(), which is a no-op in release builds. If a caller ever passes length > 16 this results in a stack buffer overflow via memcpy. Additionally, link_index is used to dereference dc->links[] without bounds checking against dc->link_count, risking an out-of-bounds access. Replace the ASSERT with a hard runtime check that returns false when payload->length exceeds the destination buffer size, and add a bounds check for link_index before it is used. (cherry picked from commit ba4caa9fecdf7a38f98c878ad05a8a64148b6881)

Faiblesses (CWE)

  • CWE-121 — Débordement de tampon sur la pile
  • CWE-674 — Récursion non maîtrisée

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 4f8e37dbaf584de6d38f58b3000b0bfd7eaf2ff6 < d6590e3f766e3111dd1beaf88b9384d117acfa6b ; affected 4f8e37dbaf584de6d38f58b3000b0bfd7eaf2ff6 < 16a5fa57565afb6bf37e18129921c270c93d8e2b ; affected 4f8e37dbaf584de6d38f58b3000b0bfd7eaf2ff6 < 90c398e822ca76e40548df0c061dd4f93ea92d71 ; affected 4f8e37dbaf584de6d38f58b3000b0bfd7eaf2ff6 < 3265f3ed373fb8048be713aadcdf702579a0e53d ; affected 4f8e37dbaf584de6d38f58b3000b0bfd7eaf2ff6 < 1ecde19bfce6535bffddad1139ff466b6d401b8e ; affected 4f8e37dbaf584de6d38f58b3000b0bfd7eaf2ff6 < 1c8c6e912f2945b2a3e669afca6b52174b88e86e
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.* ; unaffected 6.12.92 ≤ 6.12.*

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