
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49501 affects the Linux kernel's usbnet driver, specifically related to the order of operations during USB Ethernet adapter disconnection. The vulnerability was discovered in the handling of network device unregistration and unbinding operations (Kernel Git).
The vulnerability stems from an incorrect fix attempt that changed the order of operations in the usbnet_disconnect function. Originally, the driver would first call unregister_netdev() followed by the unbind operation, mirroring the probe sequence. A previous commit (2c9d6c2b871d) reversed this order in an attempt to fix a use-after-free issue, but this created asymmetrical binding and unbinding operations (Kernel Git).
The incorrect operation order caused PHY (Physical Layer) devices to be stopped multiple times during device disconnection, as the PHY would be disconnected and stopped in the unbind operation and then stopped again during network device unregistration. This required additional complexity in the stop operation to handle already disconnected devices (Kernel Git).
The issue was resolved by reverting the problematic commit and restoring the original operation order where unregister_netdev() is called before the unbind operation. This fix allows for unconditional PHY stopping in the stop operation and maintains symmetrical binding and unbinding sequences (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."