USB Gadget f_sourcesink Isoc Transfer Vulnerability in Linux Kernel
Summary
GSD-2022-1000151: usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS. Affects Kernel versions >= b4903f7fdc484628d0b8022daf86e2439d3ab4db, < 4fc6519bdecb051afb0d2010e6f548d27830c4c3. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for software to interact with the hardware. It includes various subsystems, including USB, which allows devices to connect and communicate with the system. The USB gadget subsystem provides support for creating USB devices on the system, including the f_sourcesink gadget. This gadget allows the system to act as both a USB source and sink, enabling bidirectional data transfer.
However, a vulnerability has been discovered in the f_sourcesink gadget that affects the isochronous (isoc) transfer for USB_SPEED_SUPER_PLUS. Isochronous transfers are used for real-time data streaming, and this vulnerability can potentially lead to data corruption or other issues when using USB_SPEED_SUPER_PLUS.
Vulnerability Detail
The vulnerability in the f_sourcesink gadget for USB_SPEED_SUPER_PLUS is due to a coding error introduced in Linux Kernel version v5.4.126 (commit b4903f7fdc484628d0b8022daf86e2439d3ab4db) and fixed in version v5.4.176 (commit 4fc6519bdecb051afb0d2010e6f548d27830c4c3). The error affects the isoc transfer, which is used for real-time data streaming. It can potentially lead to data corruption or other issues when using USB_SPEED_SUPER_PLUS.
This vulnerability has not been proven to have a specific impact or attack vector yet, but it is important to address it to ensure the integrity and reliability of USB isoc transfers on systems running the affected Linux Kernel versions.
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.4.176 or later. This can be done by downloading the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to release an updated package containing the fixed kernel version.
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 approach is to apply the fix by updating the Linux Kernel to the patched version.
Conclusion
The USB Gadget f_sourcesink Isoc Transfer Vulnerability in the Linux Kernel affects the isochronous transfer for USB_SPEED_SUPER_PLUS. It is important to update the Linux Kernel to version v5.4.176 or later to mitigate the risk of data corruption or other issues. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for software to interact with the hardware.
The f_sourcesink gadget is a USB gadget subsystem in the Linux Kernel that allows the system to act as both a USB source and sink, enabling bidirectional data transfer.
USB_SPEED_SUPER_PLUS is a USB speed mode that supports higher data transfer rates, often used for real-time data streaming.
An isochronous transfer is a USB data transfer mode used for real-time data streaming, where a constant data rate is required.
The potential impacts of this vulnerability include data corruption or other issues when using USB_SPEED_SUPER_PLUS isoc transfers.
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.