[PATCH 0/3] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback() -- Take 2

From: Andrea Parri (Microsoft)
Date: Thu Dec 17 2020 - 15:35:02 EST


Hi all,

This series is to address the problems mentioned in:

4da3a54f5a0258 ("Revert "scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()"")

(cf., in particular, patch 2/3) and to re-introduce the validation in
question (patch 3/3); patch 1/3 emerged from internal review of these
two patches and is a related fix.

Thanks,
Andrea


Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxx>
Cc: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>
Cc: linux-scsi@xxxxxxxxxxxxxxx

Andrea Parri (Microsoft) (3):
scsi: storvsc: Fix max_outstanding_req_per_channel for Win8 and newer
scsi: storvsc: Resolve data race in storvsc_probe()
scsi: storvsc: Validate length of incoming packet in
storvsc_on_channel_callback()

drivers/scsi/storvsc_drv.c | 58 +++++++++++++++++++++++---------------
1 file changed, 36 insertions(+), 22 deletions(-)

--
2.25.1