]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86/svm: Add code to clear registers on VM exit
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 20 Dec 2017 10:55:47 +0000 (10:55 +0000)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Thu, 11 Jan 2018 20:35:07 +0000 (18:35 -0200)
commit95177e2c17c2cba93d431e18c7c563cc00b303e6
treec33f005f58c5a82ccc7bf963e5a82b952b4feafb
parent9392e24469b71ff665cdbc3d81db215f9383219d
x86/svm: Add code to clear registers on VM exit

CVE-2017-5753
CVE-2017-5715

Clear registers on VM exit to prevent speculative use of them.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/x86/kvm/svm.c