drm/amd/display: Clamp VBIOS HDMI retimer register count to array size (Linux Linux)

CVE-2026-53136
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Clamp VBIOS HDMI retimer register count to array size [Why & How] The VBIOS integrated info tables (v1_11 and v2_1) contain HdmiRegNum and Hdmi6GRegNum fields that are used as loop bounds when copying retimer I2C register settings into fixed-size arrays (dp*_ext_hdmi_reg_settings[9] and dp*_ext_hdmi_6g_reg_settings[3]). These u8 fields are not validated before use, so a malformed VBIOS can specify values up to 255, causing an out-of-bounds heap write during driver probe. Clamp each register count to the destination array size using min_t() before the copy loops, in both get_integrated_info_v11() and get_integrated_info_v2_1(). (cherry picked from commit 5a7f0ef90195940c54b0f5bb85b87da55f038c69)

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a < 029571d51140650783be4fb98fe7cb4754752086 ; affected 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a < 5f8b39452fb16f507c9e4d8b4a83ce27e893307c ; affected 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a < 4d1c3c26c2ab1842e139e61983395d64bd2e518b ; affected 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a < d6be8e59af412623e3d874be3a048406c0edfe60 ; affected 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a < 3f32d52ec604c659725d865cf8cc6a17a33f9c6a ; affected 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a < 8aaa7e317fbd4beb9c6a9f77aa4cf52fae78b117
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.* ; unaffected 6.12.94 ≤ 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