Memory Leak in nilfs_sysfs_delete_device_group in Kernel
Summary
GSD-2021-1001095: nilfs2: fix memory leak in nilfs_sysfs_delete_device_group. Affects Kernel versions >= da7141fb78db915680616e15677539fc8140cf53, < 7bbb84c72484db9f95c63d523425c2189fb06b29. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The nilfs2 file system is a specific file system implemented in the Kernel. It is a log-structured file system that offers continuous snapshotting and efficient incremental backup capabilities. 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, identified as GSD-2021-1001095, originates from a memory leak in the nilfs_sysfs_delete_device_group function of the nilfs2 file system. When this function is called to delete a device group, 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 introduced in version v3.17 of the Linux Kernel and has been fixed in version v4.4.274.
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 →
Conclusion
In conclusion, the nilfs_sysfs_delete_device_group function in the nilfs2 file system of the Linux Kernel is vulnerable to a memory leak. This vulnerability can lead to a gradual depletion of available memory resources and potentially cause system instability or denial of service. It is crucial to update the Linux Kernel to version v4.4.274 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can result in a memory leak, leading to a gradual depletion of available memory resources. This can potentially cause system instability or denial of service.
The vulnerability was introduced in version v3.17 of the Linux Kernel. All versions between v3.17 and v4.4.274 (inclusive) are affected.
Yes, the vulnerability has been fixed in version v4.4.274 of the Linux Kernel.
No, there are no known workarounds for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.
You can find more information about this vulnerability in the GSD-2021-1001095 entry of the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001095.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.