{"id":"CVE-2026-64097","revision":"112f00b0a90d4fdebdfb9faae3072096","records":[{"revision":"112f00b0a90d4fdebdfb9faae3072096","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-64097","aliases":[],"title":"drm/amd/display: Validate GPIO pin LUT table size before iterating","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Validate GPIO pin LUT table size before iterating\n\n[Why&How]\nThe GPIO pin table parsers in get_gpio_i2c_info() and\nbios_parser_get_gpio_pin_info() derive an element count from the VBIOS\ntable_header.structuresize field, then iterate over gpio_pin[] entries.\nHowever, GET_IMAGE() only validates that the table header itself fits\nwithin the BIOS image. If the VBIOS reports a structuresize larger than\nthe actual mapped data, the loop reads past the end of the BIOS image,\ncausing an out-of-bounds read.\n\nFix this by calling bios_get_image() to validate that the full claimed\nstructuresize is accessible within the BIOS image before entering the\nloop in both functions.\n\n(cherry picked from commit ba5e95b43b773ae1bf1f66ee6b31eb774e65afe3)","state":0,"publishedAt":"2026-07-19T15:40:03.599+00:00","modifiedAt":"2026-10-19T20:28:11.592+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"ae79c310b1a6f97429a5784b65f125d9cc9c95b1\",\n                            \"lessThan\": \"9900f6954be779011e7c2cd42addd87baf028bc5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ae79c310b1a6f97429a5784b65f125d9cc9c95b1\",\n                            \"lessThan\": \"fb30a3890d62fd50a95aef684faf64a307592e42\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ae79c310b1a6f97429a5784b65f125d9cc9c95b1\",\n                            \"lessThan\": \"67461e0c15335894cc5d3b84cda823bf8cbdc886\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ae79c310b1a6f97429a5784b65f125d9cc9c95b1\",\n                            \"lessThan\": \"7ca695b3122297b06a3ed605bbe1cd32c85d9f5a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ae79c310b1a6f97429a5784b65f125d9cc9c95b1\",\n                            \"lessThan\": \"f2a4827e980ba07de4391fa84d9c39a12726bdd7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ae79c310b1a6f97429a5784b65f125d9cc9c95b1\",\n                            \"lessThan\": \"86d2b20644b11d21fe52c596e6e922b4590a3e3f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.175\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.142\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.92\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.34\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0.11\",\n                            \"lessThanOrEqual\": \"7.0.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-64097","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-64097","identifiers":["CVE-2026-64097"]},"retained":false,"historicalAffected":[]}],"coverage":[]}