CVE-2026-99312
KVM: x86: Unconditionally reset MMU context when emulating INIT
- CVSS
- 8.8
- EPSS
- 0.32% (p26)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-23
- Product
- Linux Linux
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
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').
Fixed in
1c59317eba381503abdf38251a687d0e772abbec · 24f644ea26c2ebb7b14c3baa2aa92d37fde3095f · 5.15.226 · 5.16 · 6.1 · 6.12.118 · 6.18.64 · 7.3.5 · 87bd6507186c6357fb9267ab5aca869c57f0ef54 · 97be39acdbd7f33fdd8d8ca900d16fbd05482683 · c7c288d178cb0b78d3464a616b16b1aa0b316049 · d47bae9eb33b3ca0843a0954b7d0cafb354c99b0 · f55a3e4e08dc004b4bab7c1e9323d7e7e96e266a
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.15.81, <5.16 | 5.16 |
| Linux | Kernel | >=6.0.11, <6.1 | 6.1 |
| Linux | Kernel | >=6.1.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=5.15.81, <5.15.226 | 5.15.226 |
| vendor | Linux | >=5.15.81, <5.16 | 5.16 |
| vendor | Linux | >=6.0.11, <6.1 | 6.1 |
| vendor | Linux | >=6425c590d0cc6914658a630a40b7f8226aa028c3, <97be39acdbd7f33fdd8d8ca900d16fbd05482683 | 97be39acdbd7f33fdd8d8ca900d16fbd05482683 |
| vendor | Linux | >=ed129ec9057f89d615ba0c81a4984a90345a1684, <1c59317eba381503abdf38251a687d0e772abbec | 1c59317eba381503abdf38251a687d0e772abbec |
| vendor | Linux | >=ed129ec9057f89d615ba0c81a4984a90345a1684, <24f644ea26c2ebb7b14c3baa2aa92d37fde3095f | 24f644ea26c2ebb7b14c3baa2aa92d37fde3095f |
| vendor | Linux | >=ed129ec9057f89d615ba0c81a4984a90345a1684, <87bd6507186c6357fb9267ab5aca869c57f0ef54 | 87bd6507186c6357fb9267ab5aca869c57f0ef54 |
| vendor | Linux | >=ed129ec9057f89d615ba0c81a4984a90345a1684, <c7c288d178cb0b78d3464a616b16b1aa0b316049 | c7c288d178cb0b78d3464a616b16b1aa0b316049 |
| vendor | Linux | >=ed129ec9057f89d615ba0c81a4984a90345a1684, <d47bae9eb33b3ca0843a0954b7d0cafb354c99b0 | d47bae9eb33b3ca0843a0954b7d0cafb354c99b0 |
| vendor | Linux | >=ed129ec9057f89d615ba0c81a4984a90345a1684, <f55a3e4e08dc004b4bab7c1e9323d7e7e96e266a | f55a3e4e08dc004b4bab7c1e9323d7e7e96e266a |
Sources
- NVD · first seen 18d ago · NVD terms of use
- OSV · first seen 17d ago · CC-BY 4.0
- CVE List · first seen 18d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/f55a3e4e08dc004b4bab7c1e9323d7e7e96e266a other
- https://git.kernel.org/stable/c/24f644ea26c2ebb7b14c3baa2aa92d37fde3095f other
- https://git.kernel.org/stable/c/d47bae9eb33b3ca0843a0954b7d0cafb354c99b0 other
- https://git.kernel.org/stable/c/c7c288d178cb0b78d3464a616b16b1aa0b316049 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99312.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99312 advisory
- https://git.kernel.org/stable/c/97be39acdbd7f33fdd8d8ca900d16fbd05482683 other
- https://git.kernel.org/stable/c/1c59317eba381503abdf38251a687d0e772abbec other
- https://git.kernel.org/stable/c/87bd6507186c6357fb9267ab5aca869c57f0ef54 other