aboutsummaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-12-05 19:03:28 -0800
committerBen Hutchings <ben@decadent.org.uk>2015-01-01 01:27:50 +0000
commit060d11323f35afb752a7ba6c5bead732c204de55 (patch)
tree46d5415faf86682dd338319411ae212563f2e05d /fs/debugfs
parent2f67670174ad4bd1c48e8b97cc107e3232d422ce (diff)
downloadkernel_samsung_smdk4412-060d11323f35afb752a7ba6c5bead732c204de55.zip
kernel_samsung_smdk4412-060d11323f35afb752a7ba6c5bead732c204de55.tar.gz
kernel_samsung_smdk4412-060d11323f35afb752a7ba6c5bead732c204de55.tar.bz2
x86, kvm: Clear paravirt_enabled on KVM guests for espfix32's benefit
commit 29fa6825463c97e5157284db80107d1bfac5d77b upstream. paravirt_enabled has the following effects: - Disables the F00F bug workaround warning. There is no F00F bug workaround any more because Linux's standard IDT handling already works around the F00F bug, but the warning still exists. This is only cosmetic, and, in any event, there is no such thing as KVM on a CPU with the F00F bug. - Disables 32-bit APM BIOS detection. On a KVM paravirt system, there should be no APM BIOS anyway. - Disables tboot. I think that the tboot code should check the CPUID hypervisor bit directly if it matters. - paravirt_enabled disables espfix32. espfix32 should *not* be disabled under KVM paravirt. The last point is the purpose of this patch. It fixes a leak of the high 16 bits of the kernel stack address on 32-bit KVM paravirt guests. Fixes CVE-2014-8134. Suggested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions