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.
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:- Version fec51f14f16133f87d96c61b8624add5c9989c35 and below 849bdd8fe55ed5ed3feee1eaa9b257d0f8b1be12 is affected.
- Version e778ffefa34ddcdc32a260452627e390941812eb and below 44aee78542454dbe03e1c4c5a71b8e997a684292 is affected.
- Version e778ffefa34ddcdc32a260452627e390941812eb and below 31333d134afb13e3942867d48efbcf8d6b88c849 is affected.
- Version 7.0 is affected.
- Before 7.0 is unaffected.
- Version 7.3.6, <= 7.3.* is unaffected.
- Version 7.4-rc1, <= * is unaffected.