summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic94xx
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-06-15 12:52:18 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-29 22:54:08 +0200
commit5f638e5ac61ef1b9b588efdf688acc0a4cecdca2 (patch)
treee89262446c4cce9b59d024a335f8ba130a0553a2 /drivers/scsi/aic94xx
parentscsi: ipr: System crashes when seeing type 20 error (diff)
downloadlinux-5f638e5ac61ef1b9b588efdf688acc0a4cecdca2.tar.xz
linux-5f638e5ac61ef1b9b588efdf688acc0a4cecdca2.zip
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/20210615105218.214-1-xieyongji@bytedance.com Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aic94xx')
0 files changed, 0 insertions, 0 deletions