CVE-2026-97428: drm/amdgpu: harden FRU PIA parsing with bounded helpers
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: harden FRU PIA parsing with bounded helpers
Replace the open-coded TLV walk with fru_pia_advance() and fru_pia_copy_field() helpers that bound every read by the actual EEPROM data length, preventing out-of-bounds reads on truncated or malformed FRU data.
The Linux kernel CVE team has assigned CVE-2026-97428 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit 813311512505e95e4e3c898ff94b11886a15e494 Fixed in 6.18.53 with commit 4396d74b0c7304946ee343a6611ac6dbc0bfbf78 Fixed in 7.2 with commit c990c05eb6c74c98d1ff3acf67a19015312820b7
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-97428
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/813311512505e95e4e3c898ff94b11886a15e494 https://git.kernel.org/stable/c/4396d74b0c7304946ee343a6611ac6dbc0bfbf78 https://git.kernel.org/stable/c/c990c05eb6c74c98d1ff3acf67a19015312820b7