CVE-2026-139752

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

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel’s ACPI extlog handling incorrectly casts a raw hardware buffer to a structure that contains software‑only fields. The cast causes the host to overwrite the software fields header_len and flit with raw firmware data. When the pcie_print_tlp_log function uses those values to bound a loop over an array, the large header_len causes the loop to walk past the end of the array, potentially performing an out‑of‑bounds read or other memory corruption. This flaw represents a classic CWE‑125 "Out‑of‑Bounds Read" and can lead to a kernel crash or observe of unintended memory contents.

Affected Systems

All Linux kernel builds that contain the vulnerable ACPI extlog code are affected; no specific version information is listed in the CNA data. System administrators should treat recent kernels as potentially vulnerable until the patch is released.

Risk and Exploitability

The CVSS score is not provided, the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting a lower probability of widespread or automated exploitation. An attacker would need to trigger an ACPI error log that invokes the vulnerable code, which requires influencing firmware or a device to generate a specific error condition. Though the current data indicates a medium risk due to the possibility of a kernel crash, the lack of publicly available exploitation evidence and the narrow attack surface warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the ACPI patch that zeroes the local structure before casting (commit 31333d1 or a later kernel release that includes the fix).
  • If the patch cannot be applied immediately, reboot the system with ACPI error logging disabled—for example, using the kernel boot option "acpi=noerrlog" or by writing "0" to /sys/module/acpi/parameters/err_log_enabled if that interface exists—to prevent the faulty code from executing when an error log is generated.
  • Continuously monitor kernel logs for any remaining ACPI error messages; if out‑of‑bounds reads or crashes occur, upgrade the kernel or firmware as soon as an updated version becomes available.

Generated by OpenCVE AI on December 1, 2026 at 01:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
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.
Title ACPI: extlog: Avoid populating software AER metadata from raw hardware buffer
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM