Skip to contentSkip to conversation

CVE-2026-43133: KVM: nSVM: Always use vmcb01 in VMLOAD/VMSAVE emulation

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

KVM: nSVM: Always use vmcb01 in VMLOAD/VMSAVE emulation

Commit cc3ed80ae69f ("KVM: nSVM: always use vmcb01 to for vmsave/vmload of guest state") made KVM always use vmcb01 for the fields controlled by VMSAVE/VMLOAD, but it missed updating the VMLOAD/VMSAVE emulation code to always use vmcb01.

As a result, if VMSAVE/VMLOAD is executed by an L2 guest and is not intercepted by L1, KVM will mistakenly use vmcb02. Always use vmcb01 instead of the current VMCB.

The Linux kernel CVE team has assigned CVE-2026-43133 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.13 with commit cc3ed80ae69f454c3d904af9f65394a540099723 and fixed in 5.15.202 with commit 10063e1251c1485034a018236080792ad083dcc5
	Issue introduced in 5.13 with commit cc3ed80ae69f454c3d904af9f65394a540099723 and fixed in 6.1.165 with commit c3b7015000988ba35ecd5648f4b2283960f00543
	Issue introduced in 5.13 with commit cc3ed80ae69f454c3d904af9f65394a540099723 and fixed in 6.6.128 with commit 3880e331b0b31d0d5d3702b124f6c93539cd478a
	Issue introduced in 5.13 with commit cc3ed80ae69f454c3d904af9f65394a540099723 and fixed in 6.12.75 with commit fce2fd4a2ca05670a91015aacccf96a1c26268fd
	Issue introduced in 5.13 with commit cc3ed80ae69f454c3d904af9f65394a540099723 and fixed in 6.18.16 with commit d464cf1ed900d47c85393d40b00017b6adfc2e6c
	Issue introduced in 5.13 with commit cc3ed80ae69f454c3d904af9f65394a540099723 and fixed in 6.19.6 with commit 0004ecb798b30e90d7ebfe74efae2d9423315a64
	Issue introduced in 5.13 with commit cc3ed80ae69f454c3d904af9f65394a540099723 and fixed in 7.0 with commit 127ccae2c185f62e6ecb4bf24f9cb307e9b9c619

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43133

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	arch/x86/kvm/svm/svm.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/10063e1251c1485034a018236080792ad083dcc5
	https://git.kernel.org/stable/c/c3b7015000988ba35ecd5648f4b2283960f00543
	https://git.kernel.org/stable/c/3880e331b0b31d0d5d3702b124f6c93539cd478a
	https://git.kernel.org/stable/c/fce2fd4a2ca05670a91015aacccf96a1c26268fd
	https://git.kernel.org/stable/c/d464cf1ed900d47c85393d40b00017b6adfc2e6c
	https://git.kernel.org/stable/c/0004ecb798b30e90d7ebfe74efae2d9423315a64
	https://git.kernel.org/stable/c/127ccae2c185f62e6ecb4bf24f9cb307e9b9c619