Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scsi: virtio_scsi: Add validation for residual bytes from response
This ensures that the residual bytes in response (might come from an untrusted device) will not exceed the data buffer length. Link: https://lore.kernel.org/r/[email protected] Acked-by: Jason Wang <[email protected]> Signed-off-by: Xie Yongji <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
- Loading branch information