drm/amd/display: Validate GPIO pin LUT table size before iterating
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)
CVE-2026-64097
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-64097
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "ae79c310b1a6f97429a5784b65f125d9cc9c95b1",
"lessThan": "9900f6954be779011e7c2cd42addd87baf028bc5",
"versionType": "git"
},
{
"status": "affected",
"version": "ae79c310b1a6f97429a5784b65f125d9cc9c95b1",
"lessThan": "fb30a3890d62fd50a95aef684faf64a307592e42",
"versionType": "git"
},
{
"status": "affected",
"version": "ae79c310b1a6f97429a5784b65f125d9cc9c95b1",
"lessThan": "67461e0c15335894cc5d3b84cda823bf8cbdc886",
"versionType": "git"
},
{
"status": "affected",
"version": "ae79c310b1a6f97429a5784b65f125d9cc9c95b1",
"lessThan": "7ca695b3122297b06a3ed605bbe1cd32c85d9f5a",
"versionType": "git"
},
{
"status": "affected",
"version": "ae79c310b1a6f97429a5784b65f125d9cc9c95b1",
"lessThan": "f2a4827e980ba07de4391fa84d9c39a12726bdd7",
"versionType": "git"
},
{
"status": "affected",
"version": "ae79c310b1a6f97429a5784b65f125d9cc9c95b1",
"lessThan": "86d2b20644b11d21fe52c596e6e922b4590a3e3f",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.15"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.15",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.142",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.92",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.34",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.11",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-64097
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #40950 · Revision 1
- Added to Heist Feed
- Publisher date