USB Gadget f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
Summary
GSD-2022-1000250: usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS. Affects Kernel versions >= 90c4d05780d47e14a50e11a7f17373104cd47d25, < 27980463256060aaef8db0ddfcf40fd2342b96e8. 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 USB Gadget f_sourcesink is a component in the Linux Kernel that provides support for USB functions in devices. It allows devices to act as USB gadgets, enabling them to function as USB peripherals. This vulnerability affects the f_sourcesink component when used with USB_SPEED_SUPER_PLUS, a high-speed USB transfer mode.
Vulnerability Detail
The vulnerability in the USB Gadget f_sourcesink component arises from an issue with isochronous (isoc) transfers when operating in USB_SPEED_SUPER_PLUS mode. This issue can lead to data corruption or loss during isoc transfers, potentially impacting the functionality and reliability of USB devices. The vulnerability was introduced in Linux Kernel version v5.13 and has been fixed in version v5.15.19 by commit 27980463256060aaef8db0ddfcf40fd2342b96e8.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.19 or later. This can be done by obtaining the updated kernel source code from the official Linux Kernel repository and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated package containing the fixed version of the kernel.
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. It is necessary to apply the fix by updating the Linux Kernel.
Conclusion
The USB Gadget f_sourcesink vulnerability in the Linux Kernel when operating in USB_SPEED_SUPER_PLUS mode can lead to data corruption or loss during isochronous transfers. It is crucial to update the Linux Kernel to version v5.15.19 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
USB_SPEED_SUPER_PLUS is a high-speed USB transfer mode that provides faster data transfer rates compared to other USB transfer modes. It is commonly used in devices that require high bandwidth, such as external storage devices and video capture devices.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this USB Gadget f_sourcesink vulnerability.
The vulnerability can result in data corruption or loss during isochronous transfers in USB devices. This can lead to malfunctioning or unreliable USB peripherals, impacting their performance and usability.
Yes, the vulnerability has been fixed in Linux Kernel version v5.15.19 by commit 27980463256060aaef8db0ddfcf40fd2342b96e8. It is recommended to update the Linux Kernel to this version or later to mitigate the vulnerability.
Unfortunately, there are no known temporary measures or workarounds for this vulnerability. It is necessary to update the Linux Kernel to the fixed version to address the issue.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.