Message ID | bug-195167-28872@https.bugzilla.kernel.org/ (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
https://bugzilla.kernel.org/show_bug.cgi?id=195167 Tyler Hicks (tyhicks@canonical.com) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tyhicks@canonical.com --- Comment #1 from Tyler Hicks (tyhicks@canonical.com) --- I've requested a CVE for this issue via https://cveform.mitre.org/
https://bugzilla.kernel.org/show_bug.cgi?id=195167 --- Comment #2 from Tyler Hicks (tyhicks@canonical.com) --- MITRE has assigned CVE-2017-8106 to this issue.
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index d9e567f..d785e9c 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -6391,6 +6391,8 @@ static int handle_invept(struct kvm_vcpu *vcpu) switch (type) { case VMX_EPT_EXTENT_CONTEXT: + if (to_vmx(vcpu)->nested.current_vmptr == -1ull) + break; if ((operand.eptp & eptp_mask) != (nested_ept_get_cr3(vcpu) & eptp_mask)) break;