Critical Vulnerability in Linux Kernel: Page Mapping Corruption in Hugetlb

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49991: In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte In MCOPY_ATOMIC_CONTINUE case with a non-shared VMA, pages in the page cache are... Affects linux versions < 6.0.2-1. Fixed in 6.0.2-1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is a core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It supports a wide range of functionalities, including process management, memory management, and device drivers. This vulnerability specifically affects the hugetlb (huge pages) functionality, which is used to manage large memory pages for improved performance in certain applications. The issue arises from improper handling of page mappings, leading to potential system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the handling of hugetlb memory management. Specifically, in the MCOPY_ATOMIC_CONTINUE case with a non-shared Virtual Memory Area (VMA), pages in the page cache are incorrectly installed in the page table entries (PTEs). This mismanagement causes the function hugepage_add_new_anon_rmap to be called erroneously for these pages, which are not shared. As a result, the page->mapping structure used by the page cache code can become corrupted, potentially leading to system crashes or data loss.

How To Fix

Minimum fixed version

6.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, no specific workarounds are provided for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux kernel.

Conclusion

The vulnerability CVE-2022-49991 in the Linux kernel poses significant risks due to potential page mapping corruption. Users are strongly advised to update their kernel to the patched version 6.0.2-1 to mitigate these risks. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications, ensuring better security management.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49991 is a vulnerability in the Linux kernel related to the hugetlb memory management system, which can lead to page mapping corruption.

This vulnerability can cause system instability, crashes, or data loss due to corrupted page mappings in the kernel.

If you are using Debian 12 or 13 with a kernel version prior to 6.0.2-1, your system is affected by this vulnerability.

While no specific workarounds are available, it is recommended to prioritize updating your kernel to the fixed version as soon as possible.

You can use tools like Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check for vulnerabilities in your application using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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