diff options
author | 2022-04-19 14:23:21 +0200 | |
---|---|---|
committer | 2022-04-25 15:51:12 +0000 | |
commit | de5ddb7d44347ad8b00533c1850a4e2e636a1ce9 (patch) | |
tree | a2bbb72c0967fa69317973c503c379931b8d1ce6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Drivers: hv: vmbus: Fix handling of messages with transaction ID of zero (diff) | |
download | linux-dev-de5ddb7d44347ad8b00533c1850a4e2e636a1ce9.tar.xz linux-dev-de5ddb7d44347ad8b00533c1850a4e2e636a1ce9.zip |
PCI: hv: Use vmbus_requestor to generate transaction IDs for VMbus hardening
Currently, pointers to guest memory are passed to Hyper-V as transaction
IDs in hv_pci. In the face of errors or malicious behavior in Hyper-V,
hv_pci 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 request (transaction) IDs.
Suggested-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220419122325.10078-3-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions