CVE-2026-139673
publisheddrm/amdgpu/atom: bound the VBIOS date, part number, version and build getters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < 541e6dacf2a43d98451914a31fd6b9a62d47f062 · 29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < 7c806bd9403535e8f7e8d266728fa82073e5f741 · 29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < 7c6490b7c26bea152b3945280c09065117e80356 · 29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < aee05c455ad3e72df9a0591baf0b60da518800f3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters atom_get_vbios_date(), atom_get_vbios_pn(), atom_get_vbios_version() and atom_get_vbios_build() all walk the BIOS image using offsets and counts taken from the image itself, checked only against each other and never against ctx->bios_size: - atom_get_vbios_date() reads 14 bytes at a fixed offset that check_atom_bios()'s minimum size (0x49) does not cover. - atom_get_vbios_pn() dereferences an image-supplied u16 string offset unchecked, then walks and copies from it with only a length cap, not an image cap. - atom_get_vbios_version() takes its search bounds from image u16s; atom_find_str_in_rom() already clamps the search itself, but the match is then advanced by a fixed 18 bytes and STRLEN_NORMAL bytes are copied from there with no check that this still lands inside the image. - atom_get_vbios_build() walks from an image-supplied config-string offset toward the ROM header; a config offset at or past the header makes the pointer difference negative, wrapping through the u16 'len' and passing strscpy() a bound far larger than the 32-byte destination. Bound each getter's reads, walks and copies to ctx->bios_size, falling back to an empty string on a malformed image.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < 541e6dacf2a43d98451914a31fd6b9a62d47f062 (affected · git)29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < 7c806bd9403535e8f7e8d266728fa82073e5f741 (affected · git)29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < 7c6490b7c26bea152b3945280c09065117e80356 (affected · git)29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 to < aee05c455ad3e72df9a0591baf0b60da518800f3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6d04f2365e9004f5cdcb4b20b46ba6f764b6a0aea8b51ab16405d6132e34ba48
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record