CVE-2024-49858
Linux/Efi Tpm Event Log Corruption Vuln
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.
INFO
Published Date :
Oct. 21, 2024, 1:15 p.m.
Last Modified :
Oct. 23, 2024, 4:35 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49858
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49858
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49858
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 23, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/11690d7e76842f29b60fbb5b35bc97d206ea0e83 No Types Assigned https://git.kernel.org/stable/c/11690d7e76842f29b60fbb5b35bc97d206ea0e83 Patch Changed Reference Type https://git.kernel.org/stable/c/19fd2f2c5fb36b61506d3208474bfd8fdf1cada3 No Types Assigned https://git.kernel.org/stable/c/19fd2f2c5fb36b61506d3208474bfd8fdf1cada3 Patch Changed Reference Type https://git.kernel.org/stable/c/2e6871a632a99d9b9e2ce3a7847acabe99e5a26e No Types Assigned https://git.kernel.org/stable/c/2e6871a632a99d9b9e2ce3a7847acabe99e5a26e Patch Changed Reference Type https://git.kernel.org/stable/c/38d9b07d99b789efb6d8dda21f1aaad636c38993 No Types Assigned https://git.kernel.org/stable/c/38d9b07d99b789efb6d8dda21f1aaad636c38993 Patch Changed Reference Type https://git.kernel.org/stable/c/5b22c038fb2757c652642933de5664da471f8cb7 No Types Assigned https://git.kernel.org/stable/c/5b22c038fb2757c652642933de5664da471f8cb7 Patch Changed Reference Type https://git.kernel.org/stable/c/77d48d39e99170b528e4f2e9fc5d1d64cdedd386 No Types Assigned https://git.kernel.org/stable/c/77d48d39e99170b528e4f2e9fc5d1d64cdedd386 Patch Changed Reference Type https://git.kernel.org/stable/c/f76b69ab9cf04358266e3cea5748c0c2791fbb08 No Types Assigned https://git.kernel.org/stable/c/f76b69ab9cf04358266e3cea5748c0c2791fbb08 Patch Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.54 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.2 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/f76b69ab9cf04358266e3cea5748c0c2791fbb08 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/11690d7e76842f29b60fbb5b35bc97d206ea0e83 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5b22c038fb2757c652642933de5664da471f8cb7 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/19fd2f2c5fb36b61506d3208474bfd8fdf1cada3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/38d9b07d99b789efb6d8dda21f1aaad636c38993 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2e6871a632a99d9b9e2ce3a7847acabe99e5a26e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/77d48d39e99170b528e4f2e9fc5d1d64cdedd386 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49858
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49858
weaknesses.