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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-19 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-64097, DEBIAN-CVE-2026-64097
- Record: https://cvemate.com/vulnerability/CVE-2026-64097 · JSON: https://cvemate.com/vulnerability/CVE-2026-64097/json

## Description

```text
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)
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.13%, percentile 2.778%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.94-1 \| \< 7.0.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-139.139 \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1064.67 \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1064.67~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1064.67+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.75 \| \< 7.0.0-1010.10

## References (first 20 of 32)

- <https://git.kernel.org/stable/c/9900f6954be779011e7c2cd42addd87baf028bc5>
- <https://git.kernel.org/stable/c/fb30a3890d62fd50a95aef684faf64a307592e42>
- <https://git.kernel.org/stable/c/67461e0c15335894cc5d3b84cda823bf8cbdc886>
- <https://git.kernel.org/stable/c/7ca695b3122297b06a3ed605bbe1cd32c85d9f5a>
- <https://git.kernel.org/stable/c/f2a4827e980ba07de4391fa84d9c39a12726bdd7>
- <https://git.kernel.org/stable/c/86d2b20644b11d21fe52c596e6e922b4590a3e3f>
- <https://ubuntu.com/security/CVE-2026-64097>
- <https://www.cve.org/CVERecord?id=CVE-2026-64097>
- <https://git.kernel.org/linus/86d2b20644b11d21fe52c596e6e922b4590a3e3f>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8729-1>
- <https://ubuntu.com/security/notices/USN-8761-1>
- <https://ubuntu.com/security/notices/USN-8729-2>
- <https://ubuntu.com/security/notices/USN-8761-2>
- <https://ubuntu.com/security/notices/USN-8781-1>

---

Data as of 2026-12-05T04:10:58.539Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
