Vulnerability in Kernel: mm: filemap: check if THP has hwpoisoned subpage for PMD page fault
Summary
GSD-2021-1002124: mm: filemap: check if THP has hwpoisoned subpage for PMD page fault. Affects Kernel versions >= 800d8c63b2e989c2e349632d1648119bf5862f01, < 6ac017254b597709f39a083e1b1dfe09ef684f04. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the filemap subsystem of the Kernel, specifically related to Transparent Huge Pages (THP) and Page Middle Directory (PMD) page faults.
Vulnerability Detail
The vulnerability arises from a lack of proper validation in the filemap subsystem when handling PMD page faults for THP. By exploiting this flaw, an attacker could potentially trigger a page fault on a THP that contains a hardware-poisoned subpage. This could lead to various security issues, including denial of service, information disclosure, or privilege escalation. The vulnerability was introduced in version v4.8 of the Linux Kernel and has been fixed in version v5.14.16.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel to the patched version.
Conclusion
The vulnerability in the Kernel's filemap subsystem poses a potential risk of denial of service, information disclosure, or privilege escalation. It is crucial to update the Linux Kernel to version v5.14.16 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could potentially be exploited by an attacker to cause denial of service, disclose sensitive information, or escalate privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
There are no known instances of this vulnerability being exploited in the wild. However, it is crucial to apply the fix as soon as possible to mitigate any potential risks.
No, updating the Linux Kernel to the fixed version is the recommended solution to mitigate this vulnerability. There are no known workarounds.
You can find more information about this vulnerability in the GSD database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002124.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.