I've checked out the patches and re-run my PoC. I see no crash anymore.
I also fuzzed the latest code for a while (with the patches) and I saw
no related crashes.
Tested-by: Qiang Liu
On Tue, Aug 30, 2022 at 2:38 PM Gerd Hoffmann wrote:
>
> Add handler for fatal errors. Moves device into error
Add handler for fatal errors. Moves device into error state where it
stops responding until the guest resets it.
Guest can send illegal requests where scsi command and usb packet
transfer directions are inconsistent. Use the new usb_msd_fatal_error()
function instead of assert() in that case.
R