Skip to content

Fix vmx real-mode state leakage

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: Save and restore tr selector across mode switchesarch/x86/kvm/vmx.c+2 -00 replies
2/2KVM: VMX: Avoid leaking fake realmode state to userspacearch/x86/kvm/vmx.c+36 -70 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 vmx real-mode state leakage

When emulating real mode, we fake some segment state to conform with vm86 mode. Unfortunately, we allow the guest to see this fake state if we live migrate when this state is in effect. This patchset corrects the problem.

Avi Kivity (2):
KVM: VMX: Save and restore tr selector across mode switches
KVM: VMX: Avoid leaking fake realmode state to userspace

 arch/x86/kvm/vmx.c |   45 ++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 38 insertions(+), 7 deletions(-)