Memory Leak in nvme-loop Package

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000509: nvme-loop: fix memory leak in nvme_loop_create_ctrl(). Affects Kernel versions >= 3a85a5de29ea779634ddfd768059e06196687aba, < 9c980795ccd77e8abec33dd6fe28dfe1c4083e65. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The nvme-loop package is a component of the Linux Kernel that provides support for NVMe devices. NVMe (Non-Volatile Memory Express) is a protocol designed for accessing solid-state drives (SSDs) over a PCI Express (PCIe) bus. The nvme-loop package allows for the creation of loop devices that emulate NVMe controllers, enabling testing and development of NVMe-related software. However, a vulnerability has been discovered in the package that can lead to a memory leak.

Vulnerability Detail

The vulnerability in the nvme-loop package is caused by a memory leak in the nvme_loop_create_ctrl() function. This function is responsible for creating NVMe controllers for the loop devices. Due to the memory leak, memory allocated for the NVMe controller is not properly freed, leading to a gradual depletion of system memory. An attacker could potentially exploit this vulnerability to exhaust system resources, causing denial of service or other adverse effects.

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 essential to update the Linux Kernel to the fixed version.

Conclusion

The memory leak vulnerability in the nvme-loop package can lead to resource exhaustion and potential denial of service. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.10.40 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to a gradual depletion of system memory, potentially causing denial of service or other adverse effects.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you if the vulnerability is present.

There is no known exploit for this vulnerability at the moment. However, it is still crucial to update the Linux Kernel to the fixed version to mitigate any potential risks.

This vulnerability requires local access to the system. It cannot be exploited remotely.

In addition to updating the Linux Kernel, it is always advisable to follow best practices for system security, such as regularly applying security patches, using strong authentication mechanisms, and implementing proper access controls.

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