CVEvulnerability
CVE-2024-49858
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-10-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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 configurations
• linux linux kernel (< 5.10.227)
• linux linux kernel (>= 5.11 < 5.15.168)
• linux linux kernel (>= 5.16 < 6.1.113)
• linux linux kernel (>= 6.2 < 6.6.54)
• linux linux kernel (>= 6.7 < 6.10.13)
• linux linux kernel (>= 6.11 < 6.11.2)
References
- https://git.kernel.org/stable/c/11690d7e76842f29b60fbb5b35bc97d206ea0e83 Patch
- https://git.kernel.org/stable/c/19fd2f2c5fb36b61506d3208474bfd8fdf1cada3 Patch
- https://git.kernel.org/stable/c/2e6871a632a99d9b9e2ce3a7847acabe99e5a26e Patch
- https://git.kernel.org/stable/c/38d9b07d99b789efb6d8dda21f1aaad636c38993 Patch
- https://git.kernel.org/stable/c/5b22c038fb2757c652642933de5664da471f8cb7 Patch
- https://git.kernel.org/stable/c/77d48d39e99170b528e4f2e9fc5d1d64cdedd386 Patch
- https://git.kernel.org/stable/c/f76b69ab9cf04358266e3cea5748c0c2791fbb08 Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org