Skip to content
StratQuad

Threats

Linux kernel TPM eventlog memory allocation failure

CVE-2024-58005Medium

The Linux kernel's TPM eventlog code in eventlog/acpi.c uses devm_kmalloc() to allocate memory for ACPI event logs, which can fail when the BIOS reports a large buffer size such as 16 MiB. An attacker with the ability to modify BIOS settings or firmware could specify an excessively large log buffer size, causing the kernel to fail memory allocation during boot and potentially preventing the system from starting. The fix changes the code to use kvmalloc() with devm_add_action(), which can fall back to virtual memory allocation when physical memory is insufficient.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
5.5
MEDIUM
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
16th
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: from 2.6.16, before 6.6.78
  • linux linux kernel: from 6.7, before 6.12.14
  • linux linux kernel: from 6.13, before 6.13.3

Reports naming this CVE1 in total