Memory leaks in error handling path of 'log_replay()' in fs/ntfs3
Summary
GSD-2022-1002859: fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'. Affects Kernel versions >= b46acd6a6a627d876898e1c84d3f84902264b445, < 2c97519ed6b4239594c58ddacf3d0d576cf070cc. 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 fs/ntfs3 package is a component of the Linux Kernel, which is responsible for handling the NTFS file system. NTFS is a proprietary file system developed by Microsoft and widely used in Windows operating systems. The fs/ntfs3 package provides support for reading and writing NTFS partitions in Linux. It is an essential component for Linux systems that need to access NTFS file systems. However, a vulnerability has been discovered in the error handling path of the 'log_replay()' function in fs/ntfs3.
Vulnerability Detail
The vulnerability in fs/ntfs3's 'log_replay()' function can lead to memory leaks. When an error occurs during the replay of a log, certain memory resources are not properly freed, resulting in memory leaks. This can potentially exhaust the available memory and cause system instability or denial of service. The vulnerability was introduced in version v5.15 of the Linux Kernel and has been fixed in version v5.18.3.
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 fs/ntfs3 package in the Linux Kernel is vulnerable to memory leaks in the error handling path of 'log_replay()'. This vulnerability can be mitigated by updating the Linux Kernel to version v5.18.3 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
fs/ntfs3 is a component of the Linux Kernel that provides support for reading and writing NTFS partitions in Linux.
The vulnerability can lead to memory leaks, which may result in system instability or denial of service if the available memory is exhausted.
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 the Vulert Playground will analyze it for vulnerabilities.
No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
For more information about this vulnerability, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002859.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.