# CVE-2026-99312: KVM: x86: Unconditionally reset MMU context when emulating INIT


- **Severity:** High 8.8 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 18 Nov 2026
- **Updated:** 23 Nov 2026
- **Also known as:** AZL-114356, BELL-CVE-2026-99312, DEBIAN-CVE-2026-99312, GHSA-8gg9-294g-g2r6, UBUNTU-CVE-2026-99312

## What is CVE-2026-99312?

CVE-2026-99312 is a high-severity vulnerability in Linux, published on 18 Nov 2026. 

### Official description

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

KVM: x86: Unconditionally reset MMU context when emulating INIT

Force an MMU reset when emulating an INIT even if paging was already
disabled, as the MMU page role includes guest_mode (L2), i.e. an INIT while
L2 is running with CR0.PG=0 will result in KVM running L1 with a stale MMU
context.

Alternatively, the reset could be scoped strictly to paging being enabled
or L2 being active, but SMM is also encoded in the page role.  Even though
it _should_ be impossible for the vCPU to be INIT'd while SMM is active,
there's zero value in not handling SMM.  At that point, the only scenario
where KVM _doesn't_ need to reset the MMU context is on an INIT with the
vCPU running in Real Mode or Unpaged Protect Mode, and while INIT in those
modes is somewhat common, it's far from a hot path and re-initializing the
MMU is not expensive, especially when the role isn't changing (KVM elides
most of the re-configuration in that case).

Note, like the Fixes commit, this bug only affects nested SVM as INIT is an
unconditional intercept on VMX, i.e. it's impossible to emulate INIT while
L2 is active.

Temporarily keep the guest TLB flush when CR0.PG is being cleared even
though it is fully redundant with the flush that is emitted on all INIT
events (KVM itself only does RESET when a vCPU is being created, i.e. when
CR0.PG must be '0').

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


Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Red Hat | 8 | not affected | `bpftool`, `kernel`, `kernel-abi-stablelists` and 43 more |  |
| Red Hat | 9 | affected | `bpftool`, `kernel`, `kernel-64k` and 105 more |  |
| Red Hat | 10 | affected | `kernel` |  |
| Red Hat | els/6 | affected | `kernel`, `kernel-abi-whitelists`, `kernel-bootwrapper` and 10 more |  |
| Red Hat | els/7 | not affected | `bpftool`, `kernel`, `kernel-abi-whitelists` and 23 more |  |

## How do I fix CVE-2026-99312?

Upgrade to a fixed version.

## Is CVE-2026-99312 being exploited?

There is no known exploitation of CVE-2026-99312 in the wild and no public exploit code.

Public exploit code:

- Script para proteger nodos Proxmox VE frente a CVE-2026-99312 (KVM nested en AMD): desactiva nested e instala el kernel 7.3 (github_poc): https://github.com/jmginer/pve-cve-2026-99312
- https://github.com/suominen/CVE-2026-99312 (github_poc): https://github.com/suominen/CVE-2026-99312
- Read-only audit for CVE-2026-99312: Linux KVM nested SVM flaw on AMD hosts (guest to host memory access). POSIX sh, no root needed. (github_poc): https://github.com/Quaerendir/cve-2026-99312-audit

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-99312 and fix it if it is affected.

What it is: CVE-2026-99312 is a high-severity vulnerability in Linux, published on 18 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-99312 in the wild and no public exploit code.

Affected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-99312/ (Markdown: https://insights.sbomify.com/CVE-2026-99312/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-99312
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99312
- OSV: https://osv.dev/vulnerability/CVE-2026-99312

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-99312/
Summaries are generated and may contain mistakes; the official description above is the record.
