Vulnerability in 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-1003306: mm, compaction: fast_find_migrateblock() should return pfn in the target zone. Affects Kernel versions >= 70b44595eafe9c7c235f076d653a268ca1ab9fdb, < 20e6ec76aed47c65ee2dd7636f4911396c9396c7. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that manages system resources and provides an interface between hardware and software. It is responsible for memory management, process scheduling, device drivers, and other essential functions. The mm subsystem within the Kernel handles memory management, including memory allocation and deallocation. The compaction module within mm is responsible for optimizing memory usage by rearranging memory pages. This vulnerability affects the fast_find_migrateblock() function within the compaction module.

Vulnerability Detail

The fast_find_migrateblock() function in the compaction module of the Kernel's mm subsystem has a flaw that causes it to return the wrong page frame number (pfn) when searching for a suitable migration target. This can lead to incorrect memory migration decisions and potential memory corruption. An attacker could potentially exploit this vulnerability to manipulate memory mappings, escalate privileges, or cause a denial-of-service condition. The vulnerability was introduced in version v5.1 of the Linux Kernel and is fixed in version v5.15.46.

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 recommended to apply the fix by updating the Linux Kernel as mentioned in the 'how_to_fix' section.

Conclusion

The vulnerability in the Kernel's mm compaction module can lead to memory corruption and potential security risks. It is crucial to update the Linux Kernel to version v5.15.46 or later to fix this vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially be exploited by an attacker to manipulate memory mappings, escalate privileges, or cause a denial-of-service condition.

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 and it will analyze the dependencies for any known vulnerabilities.

Yes, a patch is available in version v5.15.46 of the Linux Kernel. It is recommended to update to this version or later to fix the vulnerability.

There are no known exploits for this vulnerability at the time of writing. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

Exploiting this vulnerability typically requires local access to the system. However, if an attacker already has access to the system, they may be able to exploit this vulnerability to escalate privileges or manipulate memory mappings.

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