Linux · Linux Kernel · CVE-2024-58005
**Name of the Vulnerable Software and Affected Versions**
Linux kernel versions prior to the version that includes the fix for the issue described
**Description**
A vulnerability has been identified in the Linux kernel related to the tpm module, specifically in the eventlog/acpi.c file. The issue arises from the use of kvalloc() and is associated with a warning reported on an HPE ProLiant D320 system. The warning indicates a problem with memory allocation, as evidenced by a transcript showing a CPU warning at mm/page alloc.c. The vulnerability is resolved by changing the memory allocation function from devm kmalloc() to kvmalloc() and utilizing devm add action().
**Recommendations**
For Linux kernel versions prior to the fixed version, consider applying the patch that changes the memory allocation function from devm kmalloc() to kvmalloc() and utilizes devm add action() to address the bug.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.