Fix GDT limit corruption on Intel
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: VMX: Fix host GDT.LIMIT corruptionarch/ | +4 | 0 replies | |
| 2/2 | KVM: VMX: Use host_gdt variable wherever we need the host gdtarch/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)