ksmbd: Fix Reference Count Leak in smb_check_perm_dacl()
Summary
GSD-2022-1002618: ksmbd: fix reference count leak in smb_check_perm_dacl(). Affects Kernel versions >= 777cad1604d68ed4379ec899d1f7d2f6a29f01f0, < 9758a6653c27867d810de02b4e5697163dda9883. 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. The smb_check_perm_dacl() function is responsible for checking permissions on SMB Access Control Lists (ACLs).
Vulnerability Detail
The vulnerability identified as GSD-2022-1002618 in the ksmbd package involves a reference count leak in the smb_check_perm_dacl() function. This leak can lead to a resource exhaustion attack, potentially allowing an attacker to consume system resources and cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v5.15 of the Linux Kernel and was fixed in version v5.18.4.
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
No workaround has been provided for this vulnerability.
Conclusion
In conclusion, the ksmbd package in the Linux Kernel is vulnerable to a reference count leak in the smb_check_perm_dacl() function. This vulnerability can be exploited to cause a denial-of-service (DoS) condition. It is recommended to update the Linux Kernel to version v5.18.4 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can be exploited to cause a denial-of-service (DoS) condition by consuming system resources.
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 Vulert will provide real-time alerts for open-source vulnerabilities.
No known exploits for this vulnerability have been reported at this time.
The recommended mitigation is to update the Linux Kernel to version v5.18.4 or later, which includes the fix for this vulnerability.
You can find more information about this vulnerability in the GSD-2022-1002618 JSON report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002618.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.