Vulnerability in Linux Kernel: mm, compaction: fast_find_migrateblock() should return pfn in the target zone
Summary
GSD-2022-1003010: mm, compaction: fast_find_migrateblock() should return pfn in the target zone. Affects Kernel versions >= 70b44595eafe9c7c235f076d653a268ca1ab9fdb, < be5f1bf3eb717e9cd6b47bbacf5d9d3a88724025. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, including memory management. The mm subsystem in the Linux Kernel handles memory management operations, such as allocation, deallocation, and compaction. Compaction is the process of rearranging memory pages to reduce fragmentation and improve memory utilization. However, a vulnerability has been discovered in the mm subsystem that affects the fast_find_migrateblock() function.
Vulnerability Detail
The fast_find_migrateblock() function in the mm subsystem of the Linux Kernel is vulnerable. This function is responsible for finding a suitable migration target for a given page. However, it fails to return the correct page frame number (pfn) in the target zone. This vulnerability can potentially lead to memory corruption or other security issues. An attacker may be able to exploit this vulnerability to gain unauthorized access to sensitive information or execute arbitrary code. The vulnerability was introduced in Linux Kernel version v5.1 and has been fixed in version v5.17.14.
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
No specific workaround has been provided for this vulnerability.
Conclusion
The vulnerability in the mm subsystem of the Linux Kernel, specifically in the fast_find_migrateblock() function, can lead to memory corruption and other security issues. It is crucial to update the Linux Kernel to version v5.17.14 or later to fix this vulnerability. Regularly updating the kernel is essential to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially lead to memory corruption or other security issues. An attacker may be able to exploit this vulnerability to gain unauthorized access to sensitive information or execute arbitrary code.
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 analyze the dependencies and alert you if any open-source vulnerabilities, including this one, are detected.
Yes, a patch has been released in Linux Kernel version v5.17.14. It is recommended to update your kernel to this version or later to mitigate the vulnerability.
At the time of this report, no known exploits for this vulnerability have been disclosed. However, it is important to apply the patch or update the kernel to prevent potential exploitation.
The exact conditions for remote exploitation of this vulnerability are not specified in the available information. However, as a best practice, it is recommended to update the kernel as soon as possible to mitigate any potential security risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.