← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel KVM Nested SVM Now Rejects Saved State With the Impossible EFER LMA=1, LME=0 Combination

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99345

Key Details

CVECVE-2026-99345
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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

KVM: nSVM: Reject KVM_SET_NESTED_STATE if L1 has EFER.LMA=1 && EFER.LME=0

Reject KVM_SET_NESTED_STATE if the incoming L1 host state has what is

effectively an impossible EFER combination of LMA=1 but LME=0, i.e. if the

state says long mode is active but not enabled. Unlike VMX, SVM doesn't

have an explicit consistent check for the illegal combination; presumably

hardware simply ignores EFER.LMA if EFER.LME=0.

Unfortunately, KVM doesn't ignore EFER.LMA in this case and consumes the

illegal state when constructing the shadow MMU for L2. E.g. if userspace

also clears CR4.PAE, then kvm_calc_cpu_role() will compute a role with 4 or

5 levels of paging, but shadow_mmu_init_context() will wire up the MMU to

use the paging32 template, which maxes out its levels at 2.

Note, the "real badness" is effectively the same as what happened with the

nVMX bug fixed by commit 112e66017bff ("KVM: nVMX: add missing consistency

checks for CR0 and CR4"). Unfortunately, the sanity check added by commit

72e2fb24a0b0 ("KVM: x86/mmu: Bug the VM if a vCPU ends up in long mode

without PAE enabled") doesn't work for this case, since L2 state is active

at the time of the page fault, but it's L1 that has the bad state. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99345
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99345
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.