Use-after-free vulnerability in smsc75xx_bind in Kernel
Summary
GSD-2021-1000922: net: usb: fix possible use-after-free in smsc75xx_bind. Affects Kernel versions >= b95fb96e6339e34694dd578fb6bde3575b01af17, < 4252bf6c2b245f47011098113d405ffad6ad5d5b. 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 crucial component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices, including USB devices. The smsc75xx_bind function in the USB subsystem of the Kernel is responsible for binding the smsc75xx USB network driver to the corresponding USB device. This driver is used for certain USB Ethernet adapters. However, a use-after-free vulnerability has been discovered in the smsc75xx_bind function, which could potentially be exploited by an attacker.
Vulnerability Detail
The use-after-free vulnerability in smsc75xx_bind arises due to improper handling of USB devices. When a USB device is unbound from the driver, the corresponding data structures are freed. However, under certain circumstances, the smsc75xx_bind function may still access these freed structures, leading to a use-after-free condition. An attacker who can control a USB device and trigger this vulnerability may be able to execute arbitrary code or cause a denial-of-service condition on the affected system. The vulnerability was introduced in Kernel version v5.4.124 and has been fixed in version v5.4.128.
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 known workaround for this vulnerability at the moment.
Conclusion
The use-after-free vulnerability in smsc75xx_bind in the Kernel package can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. It is recommended to update to Kernel version v5.4.128 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the attacker's capabilities and the target system. In the worst case, an attacker may be able 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 the playground will analyze it for any known vulnerabilities.
Yes, a patch for this vulnerability has been included in Kernel version v5.4.128. It is recommended to update to this version or later to mitigate the risk.
No, this vulnerability requires an attacker to have physical access to a USB device connected to the affected system in order to exploit it.
There are no known instances of this vulnerability being exploited in the wild at the moment.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.