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-1002111: mm, slub: fix potential memoryleak in kmem_cache_open(). Affects Kernel versions >= 210e7a43fa905bccafa9bb5966fba1d71f33eb8b, < 42b81946e3ac9ea0372ba16e05160dc11e02694f. 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 mm, slub package is a component of the Linux Kernel, which is responsible for managing memory allocation and deallocation. It provides an efficient memory management mechanism called the SLAB allocator. The SLAB allocator organizes memory into caches, allowing for faster allocation and deallocation of objects. However, a vulnerability has been discovered in the kmem_cache_open() function of the mm, slub package, which can lead to potential memory leaks.

Vulnerability Detail

The vulnerability in the kmem_cache_open() function of the mm, slub package can result in memory leaks. When a cache is opened, if an error occurs during the initialization process, the function fails to free the allocated memory, leading to a memory leak. This can eventually exhaust the available memory resources, causing system instability or denial of service. The vulnerability was introduced in version v4.8 of the Linux Kernel and has been fixed in version v5.14.15.

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. However, users can mitigate the risk by updating their Linux Kernel to the fixed version.

Conclusion

The memory leak vulnerability in the mm, slub package's kmem_cache_open() function can lead to memory exhaustion and system instability. It is crucial to update the Linux Kernel to version v5.14.15 or later to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory leaks, which can eventually exhaust the available memory resources and cause system instability 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 playground 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 apply the necessary updates to prevent any potential exploitation.

The recommended approach is to update the Linux Kernel to the fixed version. Manual fixes may not address all aspects of the vulnerability and can introduce other issues. It is best to follow the official update process.

Yes, the Linux Kernel provides alternative memory management mechanisms such as the SLUB allocator and the SLOB allocator. However, it is important to note that this vulnerability specifically affects the mm, slub package and the kmem_cache_open() function.

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