aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorAndres Beltran <[email protected]>2020-11-09 11:04:01 +0100
committerWei Liu <[email protected]>2020-11-17 10:54:06 +0000
commit453de21c2b8281228173a7b689120b92929743d6 (patch)
tree44281fbc42773442dc6631e85662979ce600403b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parente8b7db38449ac5b950a3f00519171c4be3e226ff (diff)
scsi: storvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening
Currently, pointers to guest memory are passed to Hyper-V as transaction IDs in storvsc. In the face of errors or malicious behavior in Hyper-V, storvsc should not expose or trust the transaction IDs returned by Hyper-V to be valid guest memory addresses. Instead, use small integers generated by vmbus_requestor as requests (transaction) IDs. 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]> Cc: "James E.J. Bottomley" <[email protected]> Cc: "Martin K. Petersen" <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Acked-by: Martin K. Petersen <[email protected]> Reviewed-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions