net: asix: add proper error handling of usb read errors
Summary
GSD-2022-1001546: net: asix: add proper error handling of usb read errors. Affects Kernel versions >= d9fe64e511144c1ee7d7555b4111f09dde9692ef, < 9ea8d2fca8fea3b17005b4dc02f8ef15f7a2fb97. 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 package in the Linux Kernel is responsible for handling network-related functionality. It includes drivers for various network devices, including the asix driver for ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet adapters. These adapters allow users to connect their devices to a network via USB. However, a vulnerability has been discovered in the asix driver that could lead to potential security issues.
Vulnerability Detail
The vulnerability in the asix driver involves improper error handling of USB read errors. When reading data from the USB interface, the driver does not adequately handle errors that may occur during the process. This could result in various security risks, such as potential data corruption or system crashes. Attackers may be able to exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition.
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 asix driver in the Linux Kernel is vulnerable to improper error handling of USB read errors. This could lead to potential security risks, including data corruption, system crashes, and possible exploitation by attackers. It is crucial to update the Linux Kernel to version v5.16.19 or later to mitigate these risks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could potentially lead to data corruption, system crashes, or allow attackers to execute arbitrary code or cause a denial-of-service (DoS) 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 to the playground, and it will provide real-time alerts for open-source vulnerabilities.
At the time of this report, no known exploits for this vulnerability have been disclosed. However, it is crucial to apply the recommended fix to mitigate any potential risks.
While it is technically possible to manually patch the vulnerability, it is highly recommended to update the Linux Kernel to the latest version instead. This ensures that all necessary fixes and improvements are applied correctly.
For more details about this vulnerability, you can refer to the vulnerability database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001546.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.