On Thu, 12 Nov 2026 18:49:00 +0100, Tommaso Califano <[email protected]> wrote: > usb_mtp_handle_control() reads a 16-bit event code from the request > data without checking that the host actually sent it. A request with > wLength < 2 makes the device act on stale bytes left in the control > buffer. > > STALL requests that are too short to hold the event code. > > [...]
Reviewed-by: Marc-André Lureau <[email protected]> -- Marc-André Lureau <[email protected]>
