CVE-2026-99345
published high CVSS 3.1 · 7.8KVM: nSVM: Reject KVM_SET_NESTED_STATE if L1 has EFER.LMA=1 && EFER.LME=0
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcc440cdad5b7a4c1de12dace725209eb3e0cf663 to < db914162770d60faaff53b3ed68e4785ac219072 · cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < fb11e2b98cb543df5b7e955a991e72163d902fa9 · cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < bd10bd806e1a30a905a0595d6c5add3c2a05cc03 · cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 08cb539fdd19ea7093af55c6b97d4d7a198aa247 · cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < c0b29d523ef363d1d7ccfb3199f0126b22a61f66 · cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 98362865bb626bb5e76cede98555d7cd4fefc016 · cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 81c460713ca62fa33ee1241fda1ddaf099facb32 · cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 5dc500a354cc8e109df678076ae3488094649468 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - kvm_arch_vcpu_ioctl's KVM_SET_NESTED_STATE path copies the userspace VMCB save area into vmcb01 in svm_set_nested_state; save->efer with EFER.LMA set and EFER.LME clear is that ioctl buffer. nested_svm_vmrun only stores vcpu->arch.efer, which set_efer and svm_set_cr0 keep consistent. AC:L - The caller sets save->efer, clears save->cr4 PAE, sets SVM_MISC_ENABLE_NP, and KVM_RUNs. nested and npt default on. paging32 walk_addr_generic only checks is_long_mode(vcpu)&&!is_pae(vcpu), which reads L2 arch.efer/cr4 from KVM_SET_SREGS, so that check does not stop the walk. PR:L - svm_set_nested_state is reached from kvm_vcpu_ioctl with no capable() check. A local user who can open /dev/kvm and create a vCPU can pass the nested state; CAP_SYS_ADMIN is not required. UI:N - The attacker opens /dev/kvm and issues KVM_SET_NESTED_STATE and KVM_RUN. No other user has to mount, open, or approve anything. S:U - The overflow is in the host paging32 guest_walker while handling an NPT fault for a VM the caller already owns. That is host privilege escalation from the KVM process; L1 VMRUN stores a consistent vcpu->arch.efer and cannot plant this pair. C:H - walk_addr_generic writes PTE-derived GFNs and host HVAs at guest_walker indexes 2 and 3 while paging32 arrays are PT_MAX_FULL_LEVELS long (2). update_accessed_dirty_bits and FNAME(fetch) read those slots back, including ptep_user, so the stack corruption discloses adjacent kernel stack data. I:H - Those out-of-bounds stores write caller-controlled PTE bytes over the stack object, and FNAME(fetch) passes gw->table_gfn[it.level-2] for shadow levels 4/5 into kvm_mmu_get_child_sp, so the smashed values drive host shadow-page updates. A:H - Overrunning guest_walker and then using a smashed ptep_user in __try_cmpxchg_user, or an inconsistent shadow level in FNAME(fetch), oopses the host. That is the same on-stack walker corruption described for the earlier nVMX bug.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < db914162770d60faaff53b3ed68e4785ac219072 (affected · git)cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < fb11e2b98cb543df5b7e955a991e72163d902fa9 (affected · git)cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < bd10bd806e1a30a905a0595d6c5add3c2a05cc03 (affected · git)cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 08cb539fdd19ea7093af55c6b97d4d7a198aa247 (affected · git)cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < c0b29d523ef363d1d7ccfb3199f0126b22a61f66 (affected · git)cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 98362865bb626bb5e76cede98555d7cd4fefc016 (affected · git)cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 81c460713ca62fa33ee1241fda1ddaf099facb32 (affected · git)cc440cdad5b7a4c1de12dace725209eb3e0cf663 to < 5dc500a354cc8e109df678076ae3488094649468 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/08cb539fdd19ea7093af55c6b97d4d7a198aa247
- https://git.kernel.org/stable/c/5dc500a354cc8e109df678076ae3488094649468
- https://git.kernel.org/stable/c/81c460713ca62fa33ee1241fda1ddaf099facb32
- https://git.kernel.org/stable/c/98362865bb626bb5e76cede98555d7cd4fefc016
- https://git.kernel.org/stable/c/bd10bd806e1a30a905a0595d6c5add3c2a05cc03
- https://git.kernel.org/stable/c/c0b29d523ef363d1d7ccfb3199f0126b22a61f66
- https://git.kernel.org/stable/c/db914162770d60faaff53b3ed68e4785ac219072
- https://git.kernel.org/stable/c/fb11e2b98cb543df5b7e955a991e72163d902fa9
Provider assertions
1Linux · cna
KVM: nSVM: Reject KVM_SET_NESTED_STATE if L1 has EFER.LMA=1 && EFER.LME=0
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a8fd95f8a5c80a92715a4e7d40d94a731e426760043878bbfc0bf4c4a15fb368
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record