summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpt3sas_ctl.c
diff options
context:
space:
mode:
authorAndrea Parri (Microsoft) <parri.andrea@gmail.com>2020-11-18 15:53:48 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-11-30 23:24:10 -0500
commit3b8c72d076c42bf27284cda7b2b2b522810686f8 (patch)
treebb198bd29de7e3aa2337dc821a755139bb8f4c93 /drivers/scsi/mpt3sas/mpt3sas_ctl.c
parent6112ff4e8f393e7e297dff04eff0987f94d37fa1 (diff)
scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()
Check that the packet is of the expected size at least, don't copy data past the packet. Link: https://lore.kernel.org/r/20201118145348.109879-1-parri.andrea@gmail.com Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: linux-scsi@vger.kernel.org Reported-by: Saruhan Karademir <skarade@microsoft.com> Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_ctl.c')
0 files changed, 0 insertions, 0 deletions