Linux · Linux Kernel · CVE-2021-47491
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to the Linux kernel's khugepaged component, which is responsible for managing huge pages. The read-only THP (Transparent Huge Pages) for filesystems can collapse THP for files opened readonly and mapped with VM EXEC, but it does not restrict file types. This can cause bugs if a THP is collapsed for a non-regular file, such as a block device, when it is opened readonly and mapped with EXEC permission. The intended use case is to avoid TLB misses for large text segments, but the current implementation may lead to issues.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.