diff options
author | Jim Mattson <[email protected]> | 2018-01-03 14:31:38 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2018-01-05 16:48:40 +0100 |
commit | 0cb5b30698fdc8f6b4646012e3acb4ddce430788 (patch) | |
tree | 5d4f85bedfcc2fcd851597303960de5cffaebd81 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aa12f594f97efe50223611dbd13ecca4e8dafee6 (diff) |
kvm: vmx: Scrub hardware GPRs at VM-exit
Guest GPR values are live in the hardware GPRs at VM-exit. Do not
leave any guest values in hardware GPRs after the guest GPR values are
saved to the vcpu_vmx structure.
This is a partial mitigation for CVE 2017-5715 and CVE 2017-5753.
Specifically, it defeats the Project Zero PoC for CVE 2017-5715.
Suggested-by: Eric Northup <[email protected]>
Signed-off-by: Jim Mattson <[email protected]>
Reviewed-by: Eric Northup <[email protected]>
Reviewed-by: Benjamin Serebrin <[email protected]>
Reviewed-by: Andrew Honig <[email protected]>
[Paolo: Add AMD bits, Signed-off-by: Tom Lendacky <[email protected]>]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions