CVE-2026-53136 PUBLISHED

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

Assigner: Linux
Reserved: 09.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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)

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 029571d51140650783be4fb98fe7cb4754752086 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 5f8b39452fb16f507c9e4d8b4a83ce27e893307c (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 4d1c3c26c2ab1842e139e61983395d64bd2e518b (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to d6be8e59af412623e3d874be3a048406c0edfe60 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 3f32d52ec604c659725d865cf8cc6a17a33f9c6a (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 8aaa7e317fbd4beb9c6a9f77aa4cf52fae78b117 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to fb0707ce00eef4e2d60c3020e1c0432739703e4a (excl.)
  • affected from 0 to 5.15.210 (excl.)
  • affected from 0 to 6.1.176 (excl.)
  • affected from 0 to 6.6.143 (excl.)
  • affected from 0 to 6.12.94 (excl.)
  • affected from 0 to 6.18.36 (excl.)
  • affected from 0 to 7.0.13 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 5.15.210 to 5.15.* (incl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.94 to 6.12.* (incl.)
  • unaffected from 6.18.36 to 6.18.* (incl.)
  • unaffected from 7.0.13 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References