# CVE-2026-64097: drm/amd/display: Validate GPIO pin LUT table size before iterating

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:40:03.599Z
- Modified: 2026-10-19T21:17:22.763Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from ae79c310b1a6f97429a5784b65f125d9cc9c95b1 before 9900f6954be779011e7c2cd42addd87baf028bc5; from ae79c310b1a6f97429a5784b65f125d9cc9c95b1 before fb30a3890d62fd50a95aef684faf64a307592e42; from ae79c310b1a6f97429a5784b65f125d9cc9c95b1 before 67461e0c15335894cc5d3b84cda823bf8cbdc886; from ae79c310b1a6f97429a5784b65f125d9cc9c95b1 before 7ca695b3122297b06a3ed605bbe1cd32c85d9f5a; from ae79c310b1a6f97429a5784b65f125d9cc9c95b1 before f2a4827e980ba07de4391fa84d9c39a12726bdd7; from ae79c310b1a6f97429a5784b65f125d9cc9c95b1 before 86d2b20644b11d21fe52c596e6e922b4590a3e3f; 4.15 (not affected: before 4.15; from 6.1.175 up to 6.1.*; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.15 before 6.1.175; from 6.2 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/9900f6954be779011e7c2cd42addd87baf028bc5> (patch)
- <https://git.kernel.org/stable/c/fb30a3890d62fd50a95aef684faf64a307592e42> (patch)
- <https://git.kernel.org/stable/c/67461e0c15335894cc5d3b84cda823bf8cbdc886> (patch)
- <https://git.kernel.org/stable/c/7ca695b3122297b06a3ed605bbe1cd32c85d9f5a> (patch)
- <https://git.kernel.org/stable/c/f2a4827e980ba07de4391fa84d9c39a12726bdd7> (patch)
- <https://git.kernel.org/stable/c/86d2b20644b11d21fe52c596e6e922b4590a3e3f> (patch)

## Sources

- CVE List: [CVE-2026-64097](https://www.cve.org/CVERecord?id=CVE-2026-64097), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64097](https://nvd.nist.gov/vuln/detail/CVE-2026-64097), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64097 · Whole record: https://cve.day/CVE-2026-64097.json · Rebuilt by cve.day 2026-11-25T22:59:28.990Z
