Memory Leak in nilfs2: Fix in Linux Kernel
Summary
GSD-2021-1001100: nilfs2: fix memory leak in nilfs_sysfs_delete_device_group. Affects Kernel versions >= da7141fb78db915680616e15677539fc8140cf53, < 46c38e258b6767e034c7142e8528d033da11107f. 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 implemented in the Linux Kernel. It provides support for continuous snapshotting and efficient incremental backup. The package is widely used in Linux distributions and is an integral part of the operating system's file system infrastructure. However, a vulnerability has been discovered in the package that can lead to a memory leak issue.
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 system resources, potentially causing performance degradation or even system instability. The vulnerability was introduced in version v3.17 of the Linux Kernel and has been fixed in version v4.9.274 by commit 46c38e258b6767e034c7142e8528d033da11107f.
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 available for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.
Conclusion
The memory leak vulnerability in nilfs2 can be resolved by updating the Linux Kernel to version v4.9.274 or later. This will ensure that the allocated memory is properly released, preventing resource depletion and potential system instability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
nilfs2 is a file system implemented in the Linux Kernel that provides support for continuous snapshotting and efficient incremental backup.
The vulnerability can lead to a memory leak issue, causing a gradual depletion of system resources and potential performance degradation or system instability.
To fix the vulnerability, update the Linux Kernel to version v4.9.274 or later.
No, there is no specific workaround available. Updating the Linux Kernel is the recommended solution.
The vulnerability was introduced in version v3.17 and fixed in version v4.9.274 of the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.