public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix GDT limit corruption on Intel
@ 2010-07-26 15:32 Avi Kivity
  2010-07-26 15:32 ` [PATCH 1/2] KVM: VMX: Fix host GDT.LIMIT corruption Avi Kivity
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Avi Kivity @ 2010-07-26 15:32 UTC (permalink / raw)
  To: Marcelo Tosatti, kvm

Intel vmx does not restore GDT.LIMIT; this allows host userspace to look at
some host kernel bits by loading a segment register and looking whether a
trap happened or not.

Fix that by reloading GDT on heavyweight exits.

Avi Kivity (2):
  KVM: VMX: Fix host GDT.LIMIT corruption
  KVM: VMX: Use host_gdt variable wherever we need the host gdt

 arch/x86/kvm/vmx.c |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-28 15:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 15:32 [PATCH 0/2] Fix GDT limit corruption on Intel Avi Kivity
2010-07-26 15:32 ` [PATCH 1/2] KVM: VMX: Fix host GDT.LIMIT corruption Avi Kivity
2010-07-26 15:32 ` [PATCH 2/2] KVM: VMX: Use host_gdt variable wherever we need the host gdt Avi Kivity
2010-07-28  0:25 ` [PATCH 0/2] Fix GDT limit corruption on Intel Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox