Vulnerability in Kernel package: usb: hso: fix error handling code of hso_create_net_device
Summary
GSD-2021-1001243: usb: hso: fix error handling code of hso_create_net_device. Affects Kernel versions >= 5fcfb6d0bfcda17f0d0656e4e5b3710af2bbaae5, < 115e4f5b64ae8d9dd933167cafe2070aaac45849. 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 Kernel package is a critical component of the Linux operating system. It provides the core functionality and interfaces for the system. The usb subsystem within the Kernel handles USB devices and their drivers. The hso driver is responsible for supporting High-Speed Option (HSO) devices, which are USB-based modems. The hso_create_net_device function is used to create a network device for these modems. However, there is a vulnerability in the error handling code of this function, which can lead to potential security issues.
Vulnerability Detail
The vulnerability in the hso_create_net_device function of the usb subsystem allows for potential security breaches. When an error occurs during the creation of a network device for HSO modems, the error handling code may not properly clean up resources, leading to memory leaks and potential use-after-free vulnerabilities. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v5.9 of the Linux Kernel and has been fixed in version v5.10.54.
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. The recommended solution is to update the Kernel to the fixed version.
Conclusion
The vulnerability in the Kernel package's usb subsystem, specifically in the hso_create_net_device function, can lead to potential security breaches. It is crucial to update the Linux Kernel to version v5.10.54 or later to fix this vulnerability. Regularly updating the Kernel is important to ensure the latest security patches are applied. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.
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 it will provide real-time alerts for open-source vulnerabilities.
There is no known exploit for this vulnerability at the moment. However, it is important to apply the fix as soon as possible to mitigate any potential risks.
The vulnerability specifically affects the Kernel package in Linux. However, it is always recommended to keep all software and dependencies up to date to ensure the latest security patches are applied.
You can find more information about this vulnerability in the GSD-2021-1001243 JSON file available on the GitHub repository of the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.