Skip to content

scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback() -- Take 2

Andrea Parri (Microsoft) linux-hyperv linux-scsi lkml 1 version Applied

Status from this message: Applied to 5.12/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: storvsc: Fix max_outstanding_req_per_channel for Win8 and newerdrivers/scsi/storvsc_drv.c+5 -22 replies
2/3scsi: storvsc: Resolve data race in storvsc_probe()drivers/scsi/storvsc_drv.c+25 -202 replies
3/3scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()drivers/scsi/storvsc_drv.c+6 -04 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDexuan CuiMichael Kelley
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>

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(-)
Signature · 1 line
2.25.1