CVE-2024-49858

Source
https://cve.org/CVERecord?id=CVE-2024-49858
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49858.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49858
Downstream
Related
Published
2024-10-21T12:27:17.308Z
Modified
2026-03-20T12:39:24.209401Z
Summary
efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption
Details

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 EFILOADERDATA 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 EFIACPIRECLAIM_MEMORY instead, which is always treated as reserved by the E820 conversion logic.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49858.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
33b6d03469b2206fb51ecc37f40411a857ad8fff
Fixed
f76b69ab9cf04358266e3cea5748c0c2791fbb08
Fixed
11690d7e76842f29b60fbb5b35bc97d206ea0e83
Fixed
5b22c038fb2757c652642933de5664da471f8cb7
Fixed
19fd2f2c5fb36b61506d3208474bfd8fdf1cada3
Fixed
38d9b07d99b789efb6d8dda21f1aaad636c38993
Fixed
2e6871a632a99d9b9e2ce3a7847acabe99e5a26e
Fixed
77d48d39e99170b528e4f2e9fc5d1d64cdedd386

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49858.json"