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-1003744: mm, compaction: fast_find_migrateblock() should return pfn in the target zone. Affects Kernel versions >= 70b44595eafe9c7c235f076d653a268ca1ab9fdb, < f160e7b4b02a7369ac306c07a18102739d3415b8. 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 Kernel is a crucial component of the Linux operating system that manages system resources and provides an interface for software applications. 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. One of the features of the mm subsystem is compaction, which aims to reduce memory fragmentation by moving memory pages around. However, a vulnerability has been discovered in the compaction feature that can lead to potential security issues.

Vulnerability Detail

The vulnerability, identified as GSD-2022-1003744, exists in the fast_find_migrateblock() function within the mm compaction code. This function is responsible for finding a suitable memory block to migrate pages during compaction. However, it fails to return the correct page frame number (pfn) in the target zone. This flaw can potentially lead to memory corruption or privilege escalation attacks. Although the impact and attack plausibility have not been proven, it is essential to address this vulnerability to ensure the security and stability of the system.

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 mentioned for this vulnerability. It is advised to apply the fix by updating the Kernel to the latest version.

Conclusion

In conclusion, the vulnerability in the Kernel's mm compaction feature can potentially lead to security issues. It is crucial to update the Kernel to the latest version to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages system resources and provides an interface for software applications.

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

Compaction is a feature in the mm subsystem that aims to reduce memory fragmentation by moving memory pages around.

fast_find_migrateblock() is a function within the mm compaction code that is responsible for finding a suitable memory block to migrate pages during compaction.

The impact of this vulnerability can include memory corruption or privilege escalation 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