drm/amd/display: Validate GPIO pin LUT table size before iterating
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From ae79c310b1a6f97429a5784b65f125d9cc9c95b1 · fixed in 9900f6954be779011e7c2cd42addd87baf028bc5; From ae79c310b1a6f97429a5784b65f125d9cc9c95b1 · fixed in fb30a3890d62fd50a95aef684faf64a307592e42; From ae79c310b1a6f97429a5784b65f125d9cc9c95b1 · fixed in 67461e0c15335894cc5d3b84cda823bf8cbdc886; From ae79c310b1a6f97429a5784b65f125d9cc9c95b1 · fixed in 7ca695b3122297b06a3ed605bbe1cd32c85d9f5a; From ae79c310b1a6f97429a5784b65f125d9cc9c95b1 · fixed in f2a4827e980ba07de4391fa84d9c39a12726bdd7; From ae79c310b1a6f97429a5784b65f125d9cc9c95b1 · fixed in 86d2b20644b11d21fe52c596e6e922b4590a3e3f
- Linux Linux
4.15
- KernelLinux
From 4.15.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.142; From 6.7.0 · fixed in 6.12.92; From 6.13.0 · fixed in 6.18.34; From 6.19.0 · fixed in 7.0.11