Re: [PATCH] scsi: storvsc: Add validation for untrusted Hyper-V values

2020-07-08 Thread Martin K. Petersen
On Mon, 6 Jul 2020 12:09:28 -0400, Andres Beltran wrote: > 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

RE: [PATCH] scsi: storvsc: Add validation for untrusted Hyper-V values

2020-07-06 Thread Michael Kelley
From: Andres Beltran 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

[PATCH] scsi: storvsc: Add validation for untrusted Hyper-V values

2020-07-06 Thread Andres Beltran
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