Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-49858

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to < f76b69ab9cf04358266e3cea5748c0c2791fbb08affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to < 11690d7e76842f29b60fbb5b35bc97d206ea0e83affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to < 5b22c038fb2757c652642933de5664da471f8cb7affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to < 19fd2f2c5fb36b61506d3208474bfd8fdf1cada3affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to < 38d9b07d99b789efb6d8dda21f1aaad636c38993affected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to < 2e6871a632a99d9b9e2ce3a7847acabe99e5a26eaffected
  • 33b6d03469b2206fb51ecc37f40411a857ad8fff to < 77d48d39e99170b528e4f2e9fc5d1d64cdedd386affected

Linux Linux

Default version status: affected

  • 4.16affected
  • 0 to < 4.16unaffected
  • 5.10.227 to ≤ 5.10.*unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.54 to ≤ 6.6.*unaffected
  • 6.10.13 to ≤ 6.10.*unaffected
  • 6.11.2 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References