Linux · Linux Kernel · CVE-2024-26987
**Name of the Vulnerable Software and Affected Versions**
Linux kernel versions prior to 6.6.37
**Description**
The vulnerability is related to a deadlock that occurs when the `hugetlb optimize vmemmap` feature is enabled in the Linux kernel. This deadlock can happen when a task tries to acquire a lock that is already held by another task, causing a circular locking dependency. The issue is related to the `pcp batch high lock` and `cpu hotplug lock` locks.
The vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition, where the system becomes unresponsive or crashes.
To mitigate this issue, it is recommended to update the Linux kernel to version 6.6.37 or later, which includes the fix for this vulnerability.
**Recommendations**
For Linux kernel versions prior to 6.6.37, update to version 6.6.37 or later to fix the deadlock issue.
As a temporary workaround, consider disabling the `hugetlb optimize vmemmap` feature to prevent the deadlock from occurring. However, this may have performance implications and should be thoroughly tested before implementation.
It is also recommended to monitor system logs for any signs of deadlock or system crashes and to have a backup plan in place in case of a system failure.
Note: The above recommendations are based on the provided input data and may not be comprehensive or applicable to all scenarios. It is always recommended to consult the official Linux kernel documentation and security advisories for the most up-to-date and accurate information.