CVE-2026-53138
drm/amd/display: Bound VBIOS record-chain walk loops
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Bound VBIOS record-chain walk loops [Why & How] All record-chain walk loops in bios_parser.c and bios_parser2.c use for(;;) and only terminate on a 0xFF record_type sentinel or zero record_size. A malformed VBIOS image missing the terminator record causes unbounded iteration at probe time, potentially hundreds of thousands of iterations with record_size=1. In the final iterations near the BIOS image boundary, struct casts beyond the 2-byte header validated by GET_IMAGE can also read out of bounds. Cap all 14 record-chain walk loops to BIOS_MAX_NUM_RECORD (256) iterations. The atombios.h defines up to 22 distinct record types and atomfirmware.h has 13. Assuming an average of less than 10 records per type (which is reasonable since most are connector- based) 256 is a generous upper bound. (cherry picked from commit 95700a3d660287ed657d6892f7be9ffc0e294a93)
INFO
Published Date :
June 25, 2026, 9:16 a.m.
Last Modified :
July 7, 2026, 4:51 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the Linux kernel to include the fix.
- Apply the specific commit that resolves this issue.
- Review VBIOS parsing logic for similar bounds issues.
Public PoC/Exploit Available at Github
CVE-2026-53138 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53138.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53138 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53138
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53138 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53138 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 07, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.36 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.13 *cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.177 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.144 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 5.10.260 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.211 Added Reference Type kernel.org: https://git.kernel.org/stable/c/04e271a952b8863bbafc99bd51aca4c32bff0e0d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0e56f460bddb397fa9a8e6faf7ae7eaa86953eb1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2645e3caf7e013189da9c6ff621d006cca5a538b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/499c6b43a79dd684bddbd18fe8b2235aa2764db4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6173cfea2f916e01c4f98e29cd654384a05e32a3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6723188c42ca3b34a9fce634d7a0ecc9ccd5cd56 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e94f5323c41f32a74160378c3b19850d1f203ad5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ff287df16a1a58aca78b08d1f3ee09fc44da0351 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 04, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/04e271a952b8863bbafc99bd51aca4c32bff0e0d Added Reference https://git.kernel.org/stable/c/499c6b43a79dd684bddbd18fe8b2235aa2764db4 Added Reference https://git.kernel.org/stable/c/6723188c42ca3b34a9fce634d7a0ecc9ccd5cd56 Added Reference https://git.kernel.org/stable/c/e94f5323c41f32a74160378c3b19850d1f203ad5 Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '6173cfea2f916e01c4f98e29cd654384a05e32a3', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '0e56f460bddb397fa9a8e6faf7ae7eaa86953eb1', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '2645e3caf7e013189da9c6ff621d006cca5a538b', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': 'ff287df16a1a58aca78b08d1f3ee09fc44da0351', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/amd/display/dc/bios/bios_parser.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.h'], '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.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', '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_parser.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.h'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': 'e94f5323c41f32a74160378c3b19850d1f203ad5', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '04e271a952b8863bbafc99bd51aca4c32bff0e0d', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '6723188c42ca3b34a9fce634d7a0ecc9ccd5cd56', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '499c6b43a79dd684bddbd18fe8b2235aa2764db4', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '6173cfea2f916e01c4f98e29cd654384a05e32a3', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '0e56f460bddb397fa9a8e6faf7ae7eaa86953eb1', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '2645e3caf7e013189da9c6ff621d006cca5a538b', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': 'ff287df16a1a58aca78b08d1f3ee09fc44da0351', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/amd/display/dc/bios/bios_parser.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.h'], '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': '5.10.260', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.211', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.177', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', '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_parser.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.h'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '6173cfea2f916e01c4f98e29cd654384a05e32a3', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '0e56f460bddb397fa9a8e6faf7ae7eaa86953eb1', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': '2645e3caf7e013189da9c6ff621d006cca5a538b', 'versionType': 'git'}, {'status': 'affected', 'version': '4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c', 'lessThan': 'ff287df16a1a58aca78b08d1f3ee09fc44da0351', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/amd/display/dc/bios/bios_parser.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.h'], '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.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', '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_parser.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c', 'drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.h'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Bound VBIOS record-chain walk loops [Why & How] All record-chain walk loops in bios_parser.c and bios_parser2.c use for(;;) and only terminate on a 0xFF record_type sentinel or zero record_size. A malformed VBIOS image missing the terminator record causes unbounded iteration at probe time, potentially hundreds of thousands of iterations with record_size=1. In the final iterations near the BIOS image boundary, struct casts beyond the 2-byte header validated by GET_IMAGE can also read out of bounds. Cap all 14 record-chain walk loops to BIOS_MAX_NUM_RECORD (256) iterations. The atombios.h defines up to 22 distinct record types and atomfirmware.h has 13. Assuming an average of less than 10 records per type (which is reasonable since most are connector- based) 256 is a generous upper bound. (cherry picked from commit 95700a3d660287ed657d6892f7be9ffc0e294a93) Added Reference https://git.kernel.org/stable/c/0e56f460bddb397fa9a8e6faf7ae7eaa86953eb1 Added Reference https://git.kernel.org/stable/c/2645e3caf7e013189da9c6ff621d006cca5a538b Added Reference https://git.kernel.org/stable/c/6173cfea2f916e01c4f98e29cd654384a05e32a3 Added Reference https://git.kernel.org/stable/c/ff287df16a1a58aca78b08d1f3ee09fc44da0351