[PATCH 0/2] usbip: fix device disconnect loop with isoc endpoints
From: Sascha Grunert
Date: Wed Jul 01 2026 - 06:30:37 EST
Forwarding a USB device with isochronous endpoints over USB/IP causes a
disconnect/reconnect loop. Hit this with a Turtle Beach Velocity One
Flight yoke (10f5:7001) forwarded to a VM.
The first patch fixes a TCP stream desync: when get_pipe() returns -1,
the remaining PDU payload stays on the socket and corrupts the next
header parse. The second patch prevents activation of alt settings with
isoc endpoints, since USB/IP cannot forward them and the failed
transfers cascade into a device disconnect.
Sascha Grunert (2):
usbip: drain remaining PDU payload on rejected endpoint
usbip: block SET_INTERFACE for isoc alt settings
drivers/usb/usbip/stub_rx.c | 96 ++++++++++++++++++++++++++++++++++++-
1 file changed, 95 insertions(+), 1 deletion(-)
--
2.52.0