CVE-2024-49858

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

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to before f76b69ab9cf04358266e3cea5748c0c2791fbb08Affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to before 11690d7e76842f29b60fbb5b35bc97d206ea0e83Affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to before 5b22c038fb2757c652642933de5664da471f8cb7Affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to before 19fd2f2c5fb36b61506d3208474bfd8fdf1cada3Affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to before 38d9b07d99b789efb6d8dda21f1aaad636c38993Affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to before 2e6871a632a99d9b9e2ce3a7847acabe99e5a26eAffected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to before 77d48d39e99170b528e4f2e9fc5d1d64cdedd386Affected
LinuxLinux
  • 4.16Affected
  • before 4.16Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.54 through 6.6.*Not affected
  • 6.10.13 through 6.10.*Not affected
  • 6.11.2 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.