Skip to content

Fix GDT limit corruption on Intel

Avi Kivity kvm 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: VMX: Fix host GDT.LIMIT corruptionarch/x86/kvm/vmx.c+4 -00 replies
2/2KVM: VMX: Use host_gdt variable wherever we need the host gdtarch/x86/kvm/vmx.c+6 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix GDT limit corruption on Intel

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(-)