{"id":"CVE-2026-97428","state":"PUBLISHED","title":"drm/amdgpu: harden FRU PIA parsing with bounded helpers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: harden FRU PIA parsing with bounded helpers\n\nReplace the open-coded TLV walk with fru_pia_advance()\nand fru_pia_copy_field() helpers that bound every read\nby the actual EEPROM data length, preventing out-of-bounds\nreads on truncated or malformed FRU data.","publishedAt":"2026-09-24T16:03:41.103Z","updatedAt":"2026-10-21T12:52:46.339Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"567d7c3f93f8d6bdc946a557a160ee1c42cfae91","versionType":"git"},{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"813311512505e95e4e3c898ff94b11886a15e494","versionType":"git"},{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"4396d74b0c7304946ee343a6611ac6dbc0bfbf78","versionType":"git"},{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"c990c05eb6c74c98d1ff3acf67a19015312820b7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c"]}],"references":["https://git.kernel.org/stable/c/567d7c3f93f8d6bdc946a557a160ee1c42cfae91","https://git.kernel.org/stable/c/813311512505e95e4e3c898ff94b11886a15e494","https://git.kernel.org/stable/c/4396d74b0c7304946ee343a6611ac6dbc0bfbf78","https://git.kernel.org/stable/c/c990c05eb6c74c98d1ff3acf67a19015312820b7"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97428.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97428","state":"PUBLISHED","datePublished":"2026-09-24T16:03:41.103Z","dateUpdated":"2026-10-21T12:52:46.339Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T14:53:16.868Z"},"containers":{"cna":{"title":"drm/amdgpu: harden FRU PIA parsing with bounded helpers","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: harden FRU PIA parsing with bounded helpers\n\nReplace the open-coded TLV walk with fru_pia_advance()\nand fru_pia_copy_field() helpers that bound every read\nby the actual EEPROM data length, preventing out-of-bounds\nreads on truncated or malformed FRU data."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"567d7c3f93f8d6bdc946a557a160ee1c42cfae91","versionType":"git"},{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"813311512505e95e4e3c898ff94b11886a15e494","versionType":"git"},{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"4396d74b0c7304946ee343a6611ac6dbc0bfbf78","versionType":"git"},{"version":"0dbf2c56262532fbd498f590c91c4085413b8829","status":"affected","lessThan":"c990c05eb6c74c98d1ff3acf67a19015312820b7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/567d7c3f93f8d6bdc946a557a160ee1c42cfae91"},{"url":"https://git.kernel.org/stable/c/813311512505e95e4e3c898ff94b11886a15e494"},{"url":"https://git.kernel.org/stable/c/4396d74b0c7304946ee343a6611ac6dbc0bfbf78"},{"url":"https://git.kernel.org/stable/c/c990c05eb6c74c98d1ff3acf67a19015312820b7"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","baseScore":7.7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The malformed IPMI FRU Product Info Area TLV lengths (pia[addr] & 0x3F) are consumed by amdgpu_fru_get_product_info() after amdgpu_eeprom_read() on adev->pm.fru_eeprom_i2c_bus, reached from amdgpu_pci_probe() → amdgpu_driver_load_kms() → amdgpu_device_init() → amdgpu_device_ip_init(). Those bytes come from the GPU I2C FRU EEPROM, not a network protocol or USB descriptor.\nAC:L - A FRU image with valid Common Header and PIA checksums but TLV lengths that extend past the kmalloc'd pia buffer makes the pre-fix memcpy of manufacturer_name, product_name, product_number, serial, and fru_id overread on every probe. The attacker programs those EEPROM bytes; skipped Product Version/Asset Tag advances also lack a bounds check. No race.\nPR:N - amdgpu_fru_get_product_info() runs from amdgpu_device_ip_init() during amdgpu_pci_probe() with no capable() or credential check. is_fru_eeprom_supported() only matches server SKUs (Vega20 D161/D163, Aldebaran, SMU 13.0.6/13.0.14) and skips SR-IOV VFs and APUs; a crafted FRU on a supported GPU is parsed without a host account.\nUI:N - amdgpu_pci_probe() calls amdgpu_fru_get_product_info() automatically while binding a supported AMD server GPU; no victim must open a DRM node, mount media, or write sysfs.\nS:U - The memcpy overread of the kzalloc'd pia buffer and the later 0444 sysfs emit stay in this host kernel's amdgpu driver. is_fru_eeprom_supported() returns false for amdgpu_sriov_vf(), so this is not a guest-to-host or IOMMU boundary crossing.\nC:H - Pre-fix memcpy(fru_info->product_name, pia+addr+1, min(64, pia[addr]&0x3F)) and the manufacturer_name/product_number/serial/fru_id copies do not cap the length to remaining PIA bytes, so a 6-bit length near the end of pia reads up to 63 bytes of adjacent kernel heap. amdgpu_fru_product_name_show and sibling 0444 attributes then emit those fields; that is not a few-byte leak.\nI:N - Each memcpy destination is min'd against sizeof(fru_info->manufacturer_name/product_name/product_number/serial/fru_id), so the TLV walk does not write past those arrays or other kernel objects. This path has no out-of-bounds write or control-flow hijack primitive.\nA:H - A short PIA (size = buf[1]*8, e.g. 8 bytes) plus a product_name field length of 63 makes memcpy() walk tens of bytes past the kzalloc'd pia object into unmapped or poisoned slab and oops inside amdgpu_fru_get_product_info() during probe."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:52:46.339Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}