net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
Summary
GSD-2023-1002346: net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path. Affects Kernel versions >= d40261236e8e278cb1936cb5e934262971692b10, < 338f826d3afead6e4df521f7972a4bef04a72efb. 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 net/usb package in the Linux Kernel is responsible for handling USB network devices. It provides the necessary functionality for communication between the kernel and USB devices. The kalmia driver is a specific driver within net/usb that is used for a particular USB network device. This vulnerability affects the kalmia driver in the Linux Kernel.
Vulnerability Detail
The vulnerability in the kalmia driver arises from passing act_len in the usb_bulk_msg error path. This can lead to potential security vulnerabilities, although the exact impact and attack plausibility have not been proven. The vulnerability was introduced in version v3.0 of the Linux Kernel by commit d40261236e8e278cb1936cb5e934262971692b10. It has been fixed in version v5.15.95 by commit 338f826d3afead6e4df521f7972a4bef04a72efb.
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
The net/usb kalmia driver in the Linux Kernel is vulnerable to a security issue related to passing act_len in the usb_bulk_msg error path. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.15.95 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The exact impact of this vulnerability is not yet known. It is important to update to the fixed version of the Linux Kernel to mitigate any potential security risks.
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 Vulert will provide real-time alerts for open-source vulnerabilities.
At the time of this report, there are no known exploits for this vulnerability. However, it is still important to update to the fixed version of the Linux Kernel to ensure security.
There are no known workarounds for this vulnerability. Updating to the fixed version of the Linux Kernel is the recommended solution.
You can find more information about this vulnerability in the GSD Database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2023/1002xxx/GSD-2023-1002346.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.