diff options
author | Andres Beltran <[email protected]> | 2020-11-09 11:07:04 +0100 |
---|---|---|
committer | Wei Liu <[email protected]> | 2021-02-05 09:55:42 +0000 |
commit | 06caa778d8b2fbcb4ac3878751e39d116424ba9b (patch) | |
tree | f000d7887567b34e15a3193cf831589c5365c838 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a8c3209998afb5c4941b49e35b513cea9050cb4a (diff) |
hv_utils: 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 in the host-to-guest ring buffer. Ensure that
invalid values cannot cause indexing off the end of the icversion_data
array in vmbus_prep_negotiate_resp().
Signed-off-by: Andres Beltran <[email protected]>
Co-developed-by: Andrea Parri (Microsoft) <[email protected]>
Signed-off-by: Andrea Parri (Microsoft) <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions