Memory Leak Vulnerability in mm, slub Package

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

UVI-2021-1002049: mm, slub: fix potential memoryleak in kmem_cache_open(). Affects Kernel versions >= 210e7a43fa905bccafa9bb5966fba1d71f33eb8b, < 568f906340b43120abd6fcc67c37396482f85930. 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 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 mm, slub package is a component of the Linux Kernel, which is responsible for managing memory allocation and deallocation. It utilizes the SLUB allocator, a memory management subsystem that provides efficient object caching. The vulnerability identified in this package is related to potential memory leaks that can occur during the execution of the kmem_cache_open() function.

Vulnerability Detail

The vulnerability arises from a flaw in the implementation of the kmem_cache_open() function within the mm, slub package. This flaw can lead to memory leaks, where allocated memory is not properly deallocated, resulting in a gradual depletion of available memory resources. If left unaddressed, this vulnerability can cause system instability, performance degradation, and potential denial-of-service conditions.

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

As a workaround, users can apply the patch manually to their existing Linux Kernel version. The patch can be obtained from the commit 568f906340b43120abd6fcc67c37396482f85930 in the Linux Kernel repository. To apply the patch, users can follow the standard procedure for patching the Linux Kernel source code.

Conclusion

The memory leak vulnerability in the mm, slub package of the Linux Kernel can have significant consequences if left unaddressed. It is crucial for users to update their kernel to the fixed version or apply the provided patch to mitigate the risk of memory leaks and potential system instability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

If exploited, this vulnerability can lead to memory leaks, which can result in system instability, performance degradation, and potential denial-of-service conditions.

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 to the playground, and it will analyze the dependencies and alert you if any vulnerabilities, including this one, are detected.

At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the recommended fix or workaround to mitigate any potential risks.

This vulnerability requires local access to the affected system to exploit. It cannot be exploited remotely over a network.

The recommended solution is to update the Linux Kernel to the fixed version. However, if updating is not immediately feasible, applying the provided patch manually can serve as a temporary mitigation measure.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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

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