CVE-2024-49858

efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption

published October 21, 2024

CVSS
—
EPSS
0%
Percentile
11.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption

The TPM event log table is a Linux specific construct, where the data

produced by the GetEventLog() boot service is cached in memory, and

passed on to the OS using an EFI configuration table.

The use of EFI_LOADER_DATA here results in the region being left

unreserved in the E820 memory map constructed by the EFI stub, and this

is the memory description that is passed on to the incoming kernel by

kexec, which is therefore unaware that the region should be reserved.

Even though the utility of the TPM2 event log after a kexec is

questionable, any corruption might send the parsing code off into the

weeds and crash the kernel. So let's use EFI_ACPI_RECLAIM_MEMORY

instead, which is always treated as reserved by the E820 conversion

logic.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.1th percentile
Published
2024-10-21T12:27Z
EPSS history
Timeline
  • 21 OCT 12:27Z
    efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption
    cvelistv5