Memory Leak in nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.