Vulnerability in Kernel: mm: khugepaged: skip huge page collapse for special files

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002061: mm: khugepaged: skip huge page collapse for special files. Affects Kernel versions >= 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0, < 6d67b2a73b8e3a079c355bab3c1aef7d85a044b8. 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 Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functions such as memory management, process scheduling, and device drivers. The vulnerability in question affects the khugepaged module, which is responsible for collapsing huge pages in memory. Huge pages are large memory blocks that improve performance by reducing memory management overhead. However, the khugepaged module fails to skip the collapse process for special files, potentially leading to security issues.

Vulnerability Detail

The vulnerability arises from a flaw in the khugepaged module of the Kernel. When attempting to collapse huge pages, the module does not properly handle special files. This oversight could allow an attacker to exploit the vulnerability and gain unauthorized access or perform malicious actions. The impact of this vulnerability has not been proven, but it has the potential to compromise system security and integrity. The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.10.78.

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. However, users can mitigate the risk by following best practices for system security, such as implementing strong access controls, regularly updating software, and monitoring for any suspicious activities.

Conclusion

The vulnerability in the Kernel's khugepaged module could potentially lead to security issues if exploited. It is crucial to update the Linux Kernel to version v5.10.78 or later to mitigate this vulnerability. Following best practices for system security is also recommended. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it has the potential to compromise system security and integrity.

To fix this vulnerability, update the Linux Kernel to version v5.10.78 or later.

There is no specific workaround mentioned for this vulnerability. However, following best practices for system security can help mitigate the risk.

The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.10.78.

For more details about this vulnerability, refer to the provided references link.

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