Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139752

ACPI: extlog: Avoid populating software AER metadata from raw hardware buffer

Description

In the Linux kernel, the following vulnerability has been resolved: ACPI: extlog: Avoid populating software AER metadata from raw hardware buffer extlog_print_pcie() casts pcie_err->aer_info straight to struct aer_capability_regs *. That struct embeds struct pcie_tlp_log, whose software-only header_len and flit fields sit at offset 84 - inside the 96-byte aer_info buffer - so the cast fills them with raw firmware bytes. pcie_print_tlp_log() uses both to bound a loop over dw[], and a large header_len walks past the end of the array. Copy into a zeroed local struct, and only as far as aer_info maps onto it: the leading registers and the four Header Log DWORDs. Place the TLP Prefix Log separately, from the offset the hardware keeps it at. The rest stays zero, which covers header_len and flit and keeps the Root Error registers out of the prefix log, where pcie_print_tlp_log() would print them as end-to-end prefixes.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • fec51f14f16133f87d96c61b8624add5c9989c35 to < 849bdd8fe55ed5ed3feee1eaa9b257d0f8b1be12affected
  • e778ffefa34ddcdc32a260452627e390941812eb to < 44aee78542454dbe03e1c4c5a71b8e997a684292affected
  • e778ffefa34ddcdc32a260452627e390941812eb to < 31333d134afb13e3942867d48efbcf8d6b88c849affected

Linux Linux

Default version status: affected

  • 7.0affected
  • 0 to < 7.0unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References