# CVE-2026-99345: KVM: nSVM: Reject KVM\_SET\_NESTED\_STATE if L1 has EFER.LMA=1 && EFER.LME=0

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-19T14:21:53.509Z
- **Modified:** 2026-11-23T08:17:39.137Z

## Who should check

- Anyone running Linux \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< db914162770d60faaff53b3ed68e4785ac219072; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< fb11e2b98cb543df5b7e955a991e72163d902fa9; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< bd10bd806e1a30a905a0595d6c5add3c2a05cc03; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 08cb539fdd19ea7093af55c6b97d4d7a198aa247; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< c0b29d523ef363d1d7ccfb3199f0126b22a61f66; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 98362865bb626bb5e76cede98555d7cd4fefc016; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 81c460713ca62fa33ee1241fda1ddaf099facb32; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 5dc500a354cc8e109df678076ae3488094649468
- Anyone running Linux 5.8

## Description

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.

## Affected and fixed versions

- Linux: \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< db914162770d60faaff53b3ed68e4785ac219072; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< fb11e2b98cb543df5b7e955a991e72163d902fa9; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< bd10bd806e1a30a905a0595d6c5add3c2a05cc03; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 08cb539fdd19ea7093af55c6b97d4d7a198aa247; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< c0b29d523ef363d1d7ccfb3199f0126b22a61f66; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 98362865bb626bb5e76cede98555d7cd4fefc016; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 81c460713ca62fa33ee1241fda1ddaf099facb32; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 5dc500a354cc8e109df678076ae3488094649468 (cvelist)
- Linux: 5.8 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5dc500a354cc8e109df678076ae3488094649468 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99345. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99345.md
Affected: Linux >= cc440cdad5b7a4c1de12dace725209eb3e0cf663, < db914162770d60faaff53b3ed68e4785ac219072; >= cc440cdad5b7a4c1de12dace725209eb3e0cf663, < fb11e2b98cb543df5b7e955a991e72163d902fa9; >= cc440cdad5b7a4c1de12dace725209eb3e0cf663, < bd10bd806e1a30a905a0595d6c5add3c2a05cc03; >= cc440cdad5b7a4c1de12dac…
Fixed in: Linux 08cb539fdd19ea7093af55c6b97d4d7a198aa247, Linux 98362865bb626bb5e76cede98555d7cd4fefc016, Linux 81c460713ca62fa33ee1241fda1ddaf099facb32, Linux 5dc500a354cc8e109df678076ae3488094649468

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99345 being exploited?

There is no confirmed exploitation: CVE-2026-99345 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99345?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99345?

Linux \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< db914162770d60faaff53b3ed68e4785ac219072; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< fb11e2b98cb543df5b7e955a991e72163d902fa9; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< bd10bd806e1a30a905a0595d6c5add3c2a05cc03; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 08cb539fdd19ea7093af55c6b97d4d7a198aa247; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< c0b29d523ef363d1d7ccfb3199f0126b22a61f66; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 98362865bb626bb5e76cede98555d7cd4fefc016; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 81c460713ca62fa33ee1241fda1ddaf099facb32; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 5dc500a354cc8e109df678076ae3488094649468; Linux 5.8.

### Is there a fix for CVE-2026-99345?

Yes. Fixed in Linux 08cb539fdd19ea7093af55c6b97d4d7a198aa247, Linux 98362865bb626bb5e76cede98555d7cd4fefc016, Linux 81c460713ca62fa33ee1241fda1ddaf099facb32, Linux 5dc500a354cc8e109df678076ae3488094649468. Upgrade Linux to 5dc500a354cc8e109df678076ae3488094649468 or later.

### How do I check if I'm affected by CVE-2026-99345?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/db914162770d60faaff53b3ed68e4785ac219072>
- other: <https://git.kernel.org/stable/c/fb11e2b98cb543df5b7e955a991e72163d902fa9>
- other: <https://git.kernel.org/stable/c/bd10bd806e1a30a905a0595d6c5add3c2a05cc03>
- other: <https://git.kernel.org/stable/c/08cb539fdd19ea7093af55c6b97d4d7a198aa247>
- other: <https://git.kernel.org/stable/c/c0b29d523ef363d1d7ccfb3199f0126b22a61f66>
- other: <https://git.kernel.org/stable/c/98362865bb626bb5e76cede98555d7cd4fefc016>
- other: <https://git.kernel.org/stable/c/81c460713ca62fa33ee1241fda1ddaf099facb32>
- other: <https://git.kernel.org/stable/c/5dc500a354cc8e109df678076ae3488094649468>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99345>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99345> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99345>
