CVE-2026-139718: usb: image: microtek: stop SG processing after transfer errors
In the Linux kernel, the following vulnerability has been resolved:
usb: image: microtek: stop SG processing after transfer errors
When an SG URB completes with an error, mtsdosg() calls mtstransfercleanup(), which completes the SCSI command through scsidone(). However, the callback continues advancing the scatterlist and may submit another URB for a command that has already been completed.
Return immediately after the cleanup so that no further processing is performed on the completed command.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mts_do_sg(), return immediately after mts_transfer_cleanup() when an SG URB completes with an error, so processing does not continue on the completed command.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems running the Linux kernel with the Microtek USB image-device driver in use are the relevant population. The issue occurs during scatter-gather USB request processing after a transfer error.
What condition is needed to trigger the flaw?
An SG URB must complete with an error while the driver is processing a SCSI command. After cleanup completes that command through scsi_done(), the vulnerable callback can continue through the scatterlist and submit another URB for the already completed command.
What is the remediation?
Apply a Linux kernel update containing the referenced stable fixes. The correction makes the callback return immediately after transfer-error cleanup, preventing further processing of the completed command.