diff options
| author | Andres Beltran <[email protected]> | 2020-07-06 12:09:28 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-07-08 01:34:08 -0400 |
| commit | 0a76566595bfb242a7f4bedc77233e9194831ba3 (patch) | |
| tree | f318acab28cedd0c68609e192d784b74f3fad747 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3010dfb0b77cc6f413dbfdc01cb1592adcf42873 (diff) | |
scsi: storvsc: Add validation for untrusted Hyper-V values
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.
Link: https://lore.kernel.org/r/[email protected]
Cc: James E.J. Bottomley <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: [email protected]
Reviewed-by: Michael Kelley <[email protected]>
Signed-off-by: Andres Beltran <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions