CVE-2026-53136

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

State
Published
Severity
Not scored
Published
Jun 25, 2026
Updated
Jun 29, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a to before 029571d51140650783be4fb98fe7cb4754752086Affected
  • 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a to before 5f8b39452fb16f507c9e4d8b4a83ce27e893307cAffected
  • 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a to before 4d1c3c26c2ab1842e139e61983395d64bd2e518bAffected
  • 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a to before d6be8e59af412623e3d874be3a048406c0edfe60Affected
  • 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a to before 3f32d52ec604c659725d865cf8cc6a17a33f9c6aAffected
  • 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a to before 8aaa7e317fbd4beb9c6a9f77aa4cf52fae78b117Affected
  • 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a to before fb0707ce00eef4e2d60c3020e1c0432739703e4aAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.