Memory Leak in mm/huge_memory Package

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002580: mm/huge_memory: Fix xarray node memory leak. Affects Kernel versions >= 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3, < 95c8181b4947e000f3b9b8e5918d899fce77b93d. 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 mm/huge_memory package is a component of the Linux Kernel, which is responsible for managing memory allocation and deallocation in the system. It includes functionality related to handling huge pages, which are larger memory pages used to improve performance. The package is critical for the proper functioning of the operating system.

Vulnerability Detail

The vulnerability identified in the mm/huge_memory package is a memory leak in the xarray node. A memory leak occurs when memory is allocated but not properly deallocated, leading to a gradual depletion of available memory resources. This vulnerability can potentially result in system instability, performance degradation, and denial-of-service attacks. It was introduced in version v5.17 of the Linux Kernel and has been fixed in version v5.18.4.

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 known workaround for this vulnerability. It is necessary to update the Linux Kernel to the fixed version to mitigate the risk.

Conclusion

The memory leak vulnerability in the mm/huge_memory package of the Linux Kernel can have serious consequences for system stability and performance. It is crucial to update the kernel to version v5.18.4 or later to address this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory exhaustion, system instability, and potential denial-of-service attacks.

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 Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to patch the system as soon as possible to prevent any potential exploitation.

No, only versions from v5.17 to v5.18.3 are affected. The vulnerability has been fixed in version v5.18.4.

No, updating the Linux Kernel to the fixed version is the recommended solution. Manually fixing the vulnerability without the kernel update may not be feasible or effective.

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