Skip to content
Snippets Groups Projects
Commit 227819d5 authored by Waiman Long's avatar Waiman Long
Browse files

KVM: VMX: Flatten __vmx_vcpu_run()

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090231


CVE: CVE-2022-23816
CVE: CVE-2022-23825
CVE: CVE-2022-29900
CVE: CVE-2022-29901
Conflicts: The ENDBR macro has to be removed from vmx_vmexit() due to
	   missing upstream commit 156ff4a5 ("x86/ibt: Base IBT
	   bits").

commit 8bd200d2
Author: Josh Poimboeuf <jpoimboe@kernel.org>
Date:   Tue, 14 Jun 2022 23:16:11 +0200

    KVM: VMX: Flatten __vmx_vcpu_run()

    Move the vmx_vm{enter,exit}() functionality into __vmx_vcpu_run().  This
    will make it easier to do the spec_ctrl handling before the first RET.

Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>

Signed-off-by: default avatarWaiman Long <longman@redhat.com>
parent 4123d511
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment