Memory Leak in nilfs2: fix memory leak in nilfs_sysfs_delete_device_group

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001119: nilfs2: fix memory leak in nilfs_sysfs_delete_device_group. Affects Kernel versions >= da7141fb78db915680616e15677539fc8140cf53, < d6f751ecccfb7a7b75e038a0ca052138dc52119b. 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 nilfs2 package is a file system for the Linux kernel. It provides a log-structured file system that allows for efficient data storage and retrieval. The package is an integral part of the Linux Kernel ecosystem and has been in use since version 3.17. However, a vulnerability has been discovered in the package that can lead to a memory leak. This vulnerability was introduced in version 3.17 and has been fixed in version 5.4.129 of the Linux Kernel.

Vulnerability Detail

The vulnerability in nilfs2 is related to a memory leak in the nilfs_sysfs_delete_device_group function. When this function is called, it fails to release allocated memory, resulting in a memory leak. This can lead to a gradual depletion of available memory resources, potentially causing system instability or denial of service. The vulnerability was discovered and reported on July 8, 2021.

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 provided for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.

Conclusion

The nilfs2 package in the Linux Kernel is vulnerable to a memory leak issue. This vulnerability can be fixed by updating the Linux Kernel to version 5.4.129 or later. It is important to promptly apply the fix to prevent potential system instability or denial of service. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

nilfs2 is a file system for the Linux kernel that provides a log-structured file system for efficient data storage and retrieval.

The vulnerability can lead to a memory leak, causing a gradual depletion of available memory resources and potentially resulting in system instability or denial of service.

This vulnerability was discovered and reported on July 8, 2021.

To fix this vulnerability, it is recommended to update the Linux Kernel to version 5.4.129 or later, which includes a commit that addresses the memory leak issue in nilfs2.

No specific workaround is provided for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

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