Memory Leak Vulnerability in ksmbd Package
Summary
GSD-2021-1002528: ksmbd: fix memleak in get_file_stream_info(). Affects Kernel versions >= 34061d6b76a41b1e43c19e1e50d98e5d77f77d4e, < 11e659827c3a2facb3a04e08cc97ff14d5091f51. 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 ksmbd package is a component of the Linux Kernel ecosystem. It provides support for the Server Message Block (SMB) protocol, allowing Linux systems to act as SMB servers. The package enables file and printer sharing between Linux and Windows systems. However, a memory leak vulnerability has been discovered in the ksmbd package.
Vulnerability Detail
The vulnerability, identified as GSD-2021-1002528, is caused by a memory leak in the get_file_stream_info() function of the ksmbd package. This function fails to release allocated memory, leading to a gradual depletion of system resources. An attacker could potentially exploit this vulnerability to exhaust available memory, causing denial-of-service conditions or other unpredictable behavior. The vulnerability was introduced in version v5.15 of the Linux Kernel and has been fixed in version v5.15.6.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.6 or later. This update includes the commit 11e659827c3a2facb3a04e08cc97ff14d5091f51, which resolves the memory leak issue in the get_file_stream_info() function.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround has been provided for this vulnerability. It is advised to apply the recommended fix by updating the Linux Kernel to the latest version.
Conclusion
In conclusion, the ksmbd package in the Linux Kernel is vulnerable to a memory leak issue in the get_file_stream_info() function. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.15.6 or later. For further support and assistance in vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The ksmbd package is a component of the Linux Kernel ecosystem that enables Linux systems to act as SMB servers, facilitating file and printer sharing with Windows systems.
The memory leak vulnerability in the ksmbd package can lead to a gradual depletion of system resources, potentially causing denial-of-service conditions or other unpredictable behavior.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.6 or later, which includes the necessary fix for the memory leak issue.
No specific workaround has been provided for this vulnerability. Updating the Linux Kernel to the latest version is the recommended solution.
For more information about this vulnerability, you can refer to the source link provided in the vulnerability details section of the Open Source Vulnerability format.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.