Linux Kernel ACPI extlog AER metadata OOB read via improper cast
CVE-2026-139752 Published on November 30, 2026

ACPI: extlog: Avoid populating software AER metadata from raw hardware buffer
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.

NVD


Products Associated with CVE-2026-139752

Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.

Affected Versions

Linux: Linux: