Vulnerability in Kernel: mmmremap.c

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002302: mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0). Affects Kernel versions < e2c328c2a8f9de8b761bd4025b66c63120c55761. 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 functionalities such as process management, memory management, and device drivers. The vulnerability in mmmremap.c, a file within the Kernel, can lead to potential security risks.

Vulnerability Detail

The mmmremap.c vulnerability in the Kernel allows for an unnecessary invalidate_range_start/end operation during the mremap function when the old_size parameter is set to 0. This operation can result in performance degradation and unnecessary overhead. While the impact and attack plausibility have not been proven, it is crucial to address this vulnerability to ensure optimal system performance and security.

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.

Conclusion

The mmmremap.c vulnerability in the Kernel can potentially lead to performance degradation and unnecessary overhead. It is recommended to update the Linux Kernel to version v4.19.238 or later to address this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it can potentially lead to performance degradation and unnecessary overhead in the system.

You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

Yes, the vulnerability is fixed in Linux Kernel version v4.19.238 by commit e2c328c2a8f9de8b761bd4025b66c63120c55761. Updating the Kernel to this version or later will address the vulnerability.

There are no known exploits for this vulnerability at the moment.

The vulnerability details are part of the GSD Database maintained by the Cloud Security Alliance (CSA).

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