AZL-117280: CVE-2026-139673 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters
atomgetvbiosdate(), atomgetvbiospn(), atomgetvbiosversion() and atomgetvbiosbuild() all walk the BIOS image using offsets and counts taken from the image itself, checked only against each other and never against ctx->biossize:
- atomgetvbiosdate() reads 14 bytes at a fixed offset that checkatombios()'s minimum size (0x49) does not cover. - atomgetvbiospn() dereferences an image-supplied u16 string offset unchecked, then walks and copies from it with only a length cap, not an image cap. - atomgetvbiosversion() takes its search bounds from image u16s; atomfindstrinrom() already clamps the search itself, but the match is then advanced by a fixed 18 bytes and STRLENNORMAL bytes are copied from there with no check that this still lands inside the image. - atomgetvbiosbuild() 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->biossize, falling back to an empty string on a malformed image.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Bound atom_get_vbios_build(), atom_get_vbios_date(), atom_get_vbios_pn(), and atom_get_vbios_version() reads, walks, and copies to ctx->bios_size; return an empty string when the image is malformed.
Event History
Frequently Asked Questions
What hardware or firmware condition is required for this issue to be reachable?
The affected code parses an AMDGPU Atom VBIOS image. Exploitation requires malformed or attacker-controlled fields in that BIOS image, including offsets or counts used by the VBIOS date, part number, version, or build getters.
What is the likely impact of malformed VBIOS data?
The getters can read or copy beyond the BIOS image because image-supplied offsets and lengths are not consistently bounded by ctx->bios_size. This can result in out-of-bounds memory access during VBIOS parsing.
Are checks already present sufficient to prevent the issue?
No. Some fields are checked against other image-provided values or have string-length limits, but those checks do not ensure accesses remain within the actual BIOS image size. The minimum BIOS-size check also does not cover the fixed 14-byte date read.
How can I determine whether systems are affected?
Identify systems running the Azure Linux kernel package version 6.6.161.1-1 and using the AMDGPU driver. The supplied data does not provide a fixed version or release containing the resolution, so compare installed kernel updates with the vendor's available package updates.