mcb: Fix error handling in mcb_alloc_bus()
Summary
GSD-2021-1001675: mcb: fix error handling in mcb_alloc_bus(). Affects Kernel versions >= 5d9e2ab9fea4cdf0a2522f5cbed2e7fbb220d757, < 91e4ad05bf18322b5921d1a6c9b603f6eb1694f0. 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 mcb package is a part of the Linux Kernel ecosystem. It provides support for the MCB (Multichannel Buffered Serial) bus, which is used for communication between devices. The mcb_alloc_bus() function is responsible for allocating resources for the MCB bus. However, there is a vulnerability in this function that can lead to potential security issues.
Vulnerability Detail
The vulnerability in mcb_alloc_bus() was introduced in version v4.7 of the Linux Kernel and was fixed in version v5.10.70. The vulnerability arises from improper error handling, which can result in resource leaks or other security vulnerabilities. Attackers may be able to exploit this vulnerability to gain unauthorized access or execute arbitrary code on affected systems. It is crucial to update to the fixed version to mitigate these risks.
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 mentioned for this vulnerability.
Conclusion
The mcb_alloc_bus() function in the mcb package of the Linux Kernel has a vulnerability that can lead to security issues. It is crucial to update to the fixed version (v5.10.70 or later) to mitigate these risks. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially allow attackers to gain unauthorized access or execute arbitrary code on affected systems.
You can use the Vulert Playground (https://vulert.com/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 any open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is still important to update to the fixed version to prevent any potential exploitation.
While there is no specific workaround mentioned for this vulnerability, it is generally recommended to follow security best practices such as restricting access to vulnerable systems, implementing network segmentation, and monitoring for any suspicious activity.
You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the vulnerability database maintained by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001675.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.