CVE-2026-64097

drm/amd/display: Validate GPIO pin LUT table size before iterating

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Validate GPIO pin LUT table size before iterating

[Why&How] The GPIO pin table parsers in get_gpio_i2c_info() and bios_parser_get_gpio_pin_info() derive an element count from the VBIOS table_header.structuresize field, then iterate over gpio_pin[] entries. However, GET_IMAGE() only validates that the table header itself fits within the BIOS image. If the VBIOS reports a structuresize larger than the actual mapped data, the loop reads past the end of the BIOS image, causing an out-of-bounds read.

Fix this by calling bios_get_image() to validate that the full claimed structuresize is accessible within the BIOS image before entering the loop in both functions.

(cherry picked from commit ba5e95b43b773ae1bf1f66ee6b31eb774e65afe3)

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • ae79c310b1a6f97429a5784b65f125d9cc9c95b1 to before 9900f6954be779011e7c2cd42addd87baf028bc5Affected
  • ae79c310b1a6f97429a5784b65f125d9cc9c95b1 to before fb30a3890d62fd50a95aef684faf64a307592e42Affected
  • ae79c310b1a6f97429a5784b65f125d9cc9c95b1 to before 67461e0c15335894cc5d3b84cda823bf8cbdc886Affected
  • ae79c310b1a6f97429a5784b65f125d9cc9c95b1 to before 7ca695b3122297b06a3ed605bbe1cd32c85d9f5aAffected
  • ae79c310b1a6f97429a5784b65f125d9cc9c95b1 to before f2a4827e980ba07de4391fa84d9c39a12726bdd7Affected
  • ae79c310b1a6f97429a5784b65f125d9cc9c95b1 to before 86d2b20644b11d21fe52c596e6e922b4590a3e3fAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 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.