Vulnerability in Kernel: mm, thp: bail out early in collapse_file for writeback page

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002194: mm, thp: bail out early in collapse_file for writeback page. Affects Kernel versions >= 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0, < 74c42e1baacf206338b1dd6b6199ac964512b5bb. 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 critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, memory, and processes. The mm (memory management) subsystem within the Kernel is responsible for managing memory allocation and deallocation. Transparent Huge Pages (THP) is a feature in the mm subsystem that allows for efficient memory management by grouping multiple smaller pages into larger ones. However, a vulnerability has been discovered in the mm, thp component of the Kernel that can lead to potential security risks.

Vulnerability Detail

The vulnerability in the mm, thp component of the Kernel arises from a flaw in the collapse_file function during the writeback page process. This flaw can be exploited by an attacker to trigger a specific sequence of events that may result in a security breach. While the exact impact and attack plausibility have not been proven, it is crucial to address this vulnerability to ensure the integrity and security of the system. The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.15 through commit 74c42e1baacf206338b1dd6b6199ac964512b5bb.

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

As a workaround, users can consider disabling the Transparent Huge Pages (THP) feature in the Kernel. This can be achieved by modifying the Kernel configuration or using kernel boot parameters. However, it is important to note that disabling THP may impact system performance and should be evaluated based on individual requirements.

Conclusion

The vulnerability in the mm, thp component of the Kernel poses a potential security risk and should be addressed by updating the Linux Kernel to version v5.15 or later. Disabling the Transparent Huge Pages (THP) feature can serve as a temporary workaround, but it may impact system performance. 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 provides core functionalities and acts as an interface between hardware and software.

The mm (memory management) subsystem is responsible for managing memory allocation and deallocation in the Kernel.

Transparent Huge Pages (THP) is a feature in the mm subsystem that allows for efficient memory management by grouping multiple smaller pages into larger ones.

The vulnerability can be exploited by an attacker to trigger a specific sequence of events during the writeback page process, potentially leading to a security breach.

Yes, the vulnerability has been fixed in version v5.15 of the Linux Kernel through commit 74c42e1baacf206338b1dd6b6199ac964512b5bb.

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