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

UVI-2021-1002060: mm, thp: bail out early in collapse_file for writeback page. Affects Kernel versions >= 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0, < 69a7fa5cb0de06c8956b040f19a7248c8c8308ca. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It is responsible for memory management, process scheduling, device drivers, and other essential functions. The vulnerability in question affects the mm (memory management) subsystem and specifically the transparent huge pages (thp) feature. Transparent huge pages allow for more efficient memory allocation by grouping multiple smaller pages into larger ones. However, a flaw in the collapse_file function can lead to issues when writing back pages. This vulnerability was introduced in version 5.4 of the Linux Kernel and has been fixed in version 5.10.77.

Vulnerability Detail

The vulnerability arises from a problem in the collapse_file function within the mm subsystem of the Kernel. When attempting to collapse transparent huge pages for writeback, the function fails to handle certain scenarios correctly, potentially leading to memory corruption or other unexpected behavior. An attacker could potentially exploit this vulnerability to gain unauthorized access to sensitive information, escalate privileges, or cause a denial of service. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

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 provided for this vulnerability.

Conclusion

In conclusion, the vulnerability in the Kernel's mm subsystem related to the collapse_file function poses potential risks to system security and stability. It is crucial to update the Linux Kernel to version 5.10.77 or later to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could range from memory corruption to unauthorized access, privilege escalation, or denial of service. However, the actual impact and attack plausibility have not been proven.

This vulnerability was introduced in version 5.4 of the Linux Kernel. Versions prior to 5.10.77 are considered vulnerable.

Yes, this vulnerability has been fixed in version 5.10.77 of the Linux Kernel.

At the time of this report, no known exploits for this vulnerability have been disclosed.

For more information about this vulnerability, you can refer to the provided references link or consult the official documentation and support channels of your Linux distribution.

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