Vulnerability in Kernel: mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY

Kernel Updated 02 Oct 2025

Summary

25/06/2021
N/A
No i
Unrated
Not published

UVI-2021-1000745: mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY. Affects Kernel versions >= 8fb5debc5fcd450470cdd789c2d80ef95ebb8cf4, < 7de60c2d5a2a66ef2c5d76952a5a3a9a4ea4d436. 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 manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as memory management, process scheduling, and device drivers. The vulnerability in the Kernel, specifically in the mm and hugetlb subsystems, can lead to a simple resv_huge_pages underflow on UFFDIO_COPY. This vulnerability was introduced in version v4.11 and affects Linux Kernel versions up to v4.19.194.

Vulnerability Detail

The vulnerability arises from an underflow issue in the resv_huge_pages function when processing UFFDIO_COPY requests. An attacker could exploit this vulnerability to trigger a memory corruption or denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v4.19.194 by commit 7de60c2d5a2a66ef2c5d76952a5a3a9a4ea4d436.

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.

Conclusion

The vulnerability in the Kernel's mm and hugetlb subsystems, which causes a simple resv_huge_pages underflow on UFFDIO_COPY, can lead to memory corruption or denial-of-service. It is crucial to update the Linux Kernel to version v4.19.194 or later to fix this vulnerability. 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 could potentially lead to memory corruption or denial-of-service.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will provide real-time alerts for open-source vulnerabilities.

At the time of this report, there is no known exploit for this vulnerability.

No, only Linux Kernel versions up to v4.19.194 are affected. Versions after v4.19.194 have the vulnerability fixed.

It is highly recommended to update the Kernel as soon as possible to mitigate the risk of exploitation.

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