Messages in this thread | | | From | Michael Kelley <> | Subject | RE: [PATCH] scsi: storvsc: Add validation for untrusted Hyper-V values | Date | Mon, 6 Jul 2020 16:28:59 +0000 |
| |
From: Andres Beltran <lkmlabelt@gmail.com> Sent: Monday, July 6, 2020 9:09 AM > > For additional robustness in the face of Hyper-V errors or malicious > behavior, validate all values that originate from packets that > Hyper-V has sent to the guest. Ensure that invalid values cannot > cause data being copied out of the bounds of the source buffer > when calling memcpy. Ensure that outgoing packets do not have any > leftover guest memory that has not been zeroed out. > > Cc: James E.J. Bottomley <jejb@linux.ibm.com> > Cc: Martin K. Petersen <martin.petersen@oracle.com> > Cc: linux-scsi@vger.kernel.org > Signed-off-by: Andres Beltran <lkmlabelt@gmail.com> > --- > drivers/scsi/storvsc_drv.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) >
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
| |