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-1003552: mm, compaction: fast_find_migrateblock() should return pfn in the target zone. Affects Kernel versions >= 70b44595eafe9c7c235f076d653a268ca1ab9fdb, < 7994d890123a6cad033f2842ff0177a9bda1cb23. 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 Penetration testing for web, API and mobile 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 the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. It is widely used in various devices, including servers, desktops, and embedded systems. The mm subsystem in the Linux Kernel handles memory management, including memory allocation, deallocation, and compaction. Compaction is the process of rearranging memory pages to reduce fragmentation and improve memory utilization. One of the functions in the compaction process is fast_find_migrateblock(), which is responsible for finding a suitable block of memory to migrate pages to. However, a vulnerability exists in this function, which can lead to potential security issues.

Vulnerability Detail

The vulnerability in fast_find_migrateblock() allows an attacker to obtain the physical frame number (pfn) of a memory page in a target zone. This information can be leveraged by an attacker to bypass certain security mechanisms or launch further attacks. The vulnerability was introduced in version v5.1 of the Linux Kernel and was fixed in version v5.10.121. The impact and attack plausibility of this vulnerability have not been proven yet.

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 specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, the vulnerability in the fast_find_migrateblock() function of the Linux Kernel can potentially lead to security issues. It is recommended to update the kernel to version v5.10.121 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware.

The mm subsystem in the Linux Kernel handles memory management, including memory allocation, deallocation, and compaction.

Compaction is the process of rearranging memory pages to reduce fragmentation and improve memory utilization.

fast_find_migrateblock() is a function in the compaction process of the Linux Kernel, responsible for finding a suitable block of memory to migrate pages to.

The vulnerability allows an attacker to obtain the physical frame number (pfn) of a memory page in a target zone, which can be leveraged to bypass security mechanisms or launch further attacks.

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