CVE-2026-53138

Source
https://cve.org/CVERecord?id=CVE-2026-53138
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53138.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53138
Downstream
Related
Published
2026-06-25T08:38:26.859Z
Modified
2026-07-09T18:30:19.671736189Z
Summary
drm/amd/display: Bound VBIOS record-chain walk loops
Details

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 biosparser.c and biosparser2.c use for(;;) and only terminate on a 0xFF recordtype sentinel or zero recordsize. A malformed VBIOS image missing the terminator record causes unbounded iteration at probe time, potentially hundreds of thousands of iterations with recordsize=1. In the final iterations near the BIOS image boundary, struct casts beyond the 2-byte header validated by GETIMAGE can also read out of bounds.

Cap all 14 record-chain walk loops to BIOSMAXNUM_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)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53138.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c
Fixed
e94f5323c41f32a74160378c3b19850d1f203ad5
Fixed
04e271a952b8863bbafc99bd51aca4c32bff0e0d
Fixed
6723188c42ca3b34a9fce634d7a0ecc9ccd5cd56
Fixed
499c6b43a79dd684bddbd18fe8b2235aa2764db4
Fixed
6173cfea2f916e01c4f98e29cd654384a05e32a3
Fixed
0e56f460bddb397fa9a8e6faf7ae7eaa86953eb1
Fixed
2645e3caf7e013189da9c6ff621d006cca5a538b
Fixed
ff287df16a1a58aca78b08d1f3ee09fc44da0351

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53138.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
5.10.260
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.211
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.177
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.144
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.94
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53138.json"