Vulnerability in Linux Kernel: mm, compaction: fast_find_migrateblock() should return pfn in the target zone

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback