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

Summary

CVECVE-2026-64097
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-19 16:17:50 UTC
Updated2026-07-20 07:16:41 UTC
DescriptionIn 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)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected ae79c310b1a6f97429a5784b65f125d9cc9c95b1 9900f6954be779011e7c2cd42addd87baf028bc5 git Not specified
CNA Linux Linux affected ae79c310b1a6f97429a5784b65f125d9cc9c95b1 fb30a3890d62fd50a95aef684faf64a307592e42 git Not specified
CNA Linux Linux affected ae79c310b1a6f97429a5784b65f125d9cc9c95b1 67461e0c15335894cc5d3b84cda823bf8cbdc886 git Not specified
CNA Linux Linux affected ae79c310b1a6f97429a5784b65f125d9cc9c95b1 7ca695b3122297b06a3ed605bbe1cd32c85d9f5a git Not specified
CNA Linux Linux affected ae79c310b1a6f97429a5784b65f125d9cc9c95b1 f2a4827e980ba07de4391fa84d9c39a12726bdd7 git Not specified
CNA Linux Linux affected ae79c310b1a6f97429a5784b65f125d9cc9c95b1 86d2b20644b11d21fe52c596e6e922b4590a3e3f git Not specified
CNA Linux Linux affected 4.15 Not specified
CNA Linux Linux unaffected 4.15 semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.142 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.92 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.34 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.11 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/fb30a3890d62fd50a95aef684faf64a307592e42 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f2a4827e980ba07de4391fa84d9c39a12726bdd7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/67461e0c15335894cc5d3b84cda823bf8cbdc886 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9900f6954be779011e7c2cd42addd87baf028bc5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7ca695b3122297b06a3ed605bbe1cd32c85d9f5a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/86d2b20644b11d21fe52c596e6e922b4590a3e3f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report