Memory Leak Vulnerability in nilfs2 Kernel Package

Kernel Updated 02 Oct 2025

Summary

08/07/2021
N/A
No i
Unrated
Not published

GSD-2021-1001143: nilfs2: fix memory leak in nilfs_sysfs_delete_device_group. Affects Kernel versions >= da7141fb78db915680616e15677539fc8140cf53, < 8fd0c1b0647a6bda4067ee0cd61e8395954b6f28. 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 nilfs2 package is a component of the Linux Kernel, which is responsible for managing the NILFS2 file system. NILFS2 is a log-structured file system that provides continuous snapshotting and supports efficient incremental backups. It is commonly used in Linux distributions for various applications and storage devices. However, a vulnerability has been discovered in the nilfs_sysfs_delete_device_group function, which can lead to a memory leak.

Vulnerability Detail

The vulnerability in the nilfs2 package arises from a memory leak issue in the nilfs_sysfs_delete_device_group function. When this function is called to delete a device group, it fails to release allocated memory, resulting in a memory leak. An attacker could potentially exploit this vulnerability by repeatedly triggering the deletion of device groups, leading to a gradual depletion of system memory resources. This could result in system instability, performance degradation, or even 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 avoid triggering the deletion of device groups in the nilfs2 file system until the Linux Kernel is updated to a version that includes the fix. This can help mitigate the risk of memory leaks and potential system instability.

Conclusion

The memory leak vulnerability in the nilfs2 package can have serious consequences for system stability and performance. It is crucial to update the Linux Kernel to a version that includes the fix for this issue. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a memory leak, which can result in system instability, performance degradation, or 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, and Vulert will analyze it for any open-source vulnerabilities, including this memory leak vulnerability in the nilfs2 package.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to promptly update the Linux Kernel to mitigate the risk of potential exploitation.

As a temporary measure, you can avoid triggering the deletion of device groups in the nilfs2 file system until the Linux Kernel is updated to a version that includes the fix. This can help reduce the risk of memory leaks and potential system instability.

You can find more information about this vulnerability in the GSD-2021-1001143 JSON report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001143.json.

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