The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/2] usbip: fix device disconnect loop with isoc endpoints
@ 2026-07-01 10:18 Sascha Grunert
  2026-07-01 10:18 ` [PATCH 1/2] usbip: drain remaining PDU payload on rejected endpoint Sascha Grunert
  2026-07-01 10:18 ` [PATCH 2/2] usbip: block SET_INTERFACE for isoc alt settings Sascha Grunert
  0 siblings, 2 replies; 5+ messages in thread
From: Sascha Grunert @ 2026-07-01 10:18 UTC (permalink / raw)
  To: linux-usb
  Cc: valentina.manea.m, shuah, i, gregkh, linux-kernel, stable,
	Sascha Grunert

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-01 12:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 10:18 [PATCH 0/2] usbip: fix device disconnect loop with isoc endpoints Sascha Grunert
2026-07-01 10:18 ` [PATCH 1/2] usbip: drain remaining PDU payload on rejected endpoint Sascha Grunert
2026-07-01 10:18 ` [PATCH 2/2] usbip: block SET_INTERFACE for isoc alt settings Sascha Grunert
2026-07-01 10:25   ` Greg KH
2026-07-01 12:06     ` Sascha Grunert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox