CVE-2026-139673

drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters

Published Nov 30, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Functions in the amdgpu driver that retrieve the VBIOS date, part number, version, and build read data from the BIOS image without bounding the offsets or copy lengths against the overall BIOS size. The result is that an attacker can provide a crafted BIOS image that causes the driver to read or write past the end of the allocated buffer. Based on the description, it is inferred that the attacker must supply a malformed VBIOS image for the kernel to exercise the unbounded accesses. This out‑of‑bounds access can leak arbitrary kernel data, crash the system, or be used as a foothold for further privilege escalation in a kernel context.

Affected Systems

The vulnerability resides in the Linux kernel’s amdgpu DRM driver. All kernel versions that shipped without the patch are affected; the issue impacts any system that loads the amdgpu module and processes a VBIOS image, such as servers, workstations or devices with AMD GPUs.

Risk and Exploitability

The CVSS score is not provided in the available data, and the EPSS score is not available, so an assessment of risk must rely on the nature of the flaw. Because exploitation requires a malformed VBIOS image to be parsed by the kernel, the likely attack vector is local privileged access or physical control of the GPU. Once the kernel attempts to read the unbound offsets, the kernel can exhibit memory corruption or a panic, which could be leveraged for privilege escalation or denial of service. The vulnerability is not listed in the CISA KEV catalogue, but its kernel‑level impact warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the amdgpu/atom bounds checking patch.
  • If an immediate kernel upgrade is not possible, disable the amdgpu driver for the device or block loading of the GPU’s VBIOS until a safe update is available.
  • Continuously monitor kernel logs (dmesg, /var/log/kern.log) for anomalies such as "amdgpu" related out‑of‑bounds read warnings or panics, and treat such events as indicators of exploitation.

Generated by OpenCVE AI on December 1, 2026 at 16:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
CWE-20
Type Values Removed Values Added
Weaknesses CWE-119
CWE-20
Type Values Removed Values Added
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.
Title drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM