summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2018-01-03 14:31:38 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-17 09:38:51 +0100
commit491c0ca3dbd5f6f9a1c3aa67b8c3b3c9610c489e (patch)
tree00da8020c4a65a92f4c92a1808b56c4b33f8df5d /drivers
parent78c00f597ba8211007420afdac5f99e56f9c0e2f (diff)
kvm: vmx: Scrub hardware GPRs at VM-exit
commit 0cb5b30698fdc8f6b4646012e3acb4ddce430788 upstream. 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 <digitaleric@google.com> Signed-off-by: Jim Mattson <jmattson@google.com> Reviewed-by: Eric Northup <digitaleric@google.com> Reviewed-by: Benjamin Serebrin <serebrin@google.com> Reviewed-by: Andrew Honig <ahonig@google.com> [Paolo: Add AMD bits, Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions