Re: [PATCH] usb-storage: option_ms: bound probe-time bulk transfers
From: Oliver Neukum
Date: Wed Oct 21 2026 - 03:49:29 EST
On 13.10.26 18:18, Greg KH wrote:
On Tue, Oct 13, 2026 at 10:20:33PM +0900, Lee Yongjun wrote:On a generic note, the SCSI layer is ready to deal with broken devices.
The Option device initialization path issues bulk transfers
without a timeout. If a device does not complete a transfer,
the USB hub worker can remain blocked while holding the device
mutex, causing usb_device_read() to hang.
So a broken device?
In consequence, so have SCSI LLDs. We cannot hold a lock that will stall
the SCSI layer in error handling indefinitely.
Regards
Oliver