# CVE-2026-23402: KVM: x86/mmu: Only WARN in direct MMUs when overwriting shadow-present SPTE

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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 5, 2026-11-26)
- **Published:** 2026-04-01T08:36:33.366Z
- **Modified:** 2026-06-17T10:21:30.737Z

## Who should check

- Anyone running Linux \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< bab090e8fd5607f77379ea78b9d0c683cb1538a9; \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< a1e0f7150639bc30a8e75476d1c7daab77d44992; \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< df83746075778958954aa0460cca55f4b3fc9c02
- Anyone running Linux 6.16

## Description

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

KVM: x86/mmu: Only WARN in direct MMUs when overwriting shadow-present SPTE

Adjust KVM's sanity check against overwriting a shadow-present SPTE with a
another SPTE with a different target PFN to only apply to direct MMUs,
i.e. only to MMUs without shadowed gPTEs.  While it's impossible for KVM
to overwrite a shadow-present SPTE in response to a guest write, writes
from outside the scope of KVM, e.g. from host userspace, aren't detected
by KVM's write tracking and so can break KVM's shadow paging rules.

  ------------\[ cut here \]------------
  pfn != spte\_to\_pfn(\*sptep)
  WARNING: arch/x86/kvm/mmu/mmu.c:3069 at mmu\_set\_spte+0x1e4/0x440 \[kvm\], CPU\#0: vmx\_ept\_stale\_r/872
  Modules linked in: kvm\_intel kvm irqbypass
  CPU: 0 UID: 1000 PID: 872 Comm: vmx\_ept\_stale\_r Not tainted 7.0.0-rc2-eafebd2d2ab0-sink-vm \#319 PREEMPT
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
  RIP: 0010:mmu\_set\_spte+0x1e4/0x440 \[kvm\]
  Call Trace:
   \<TASK\>
   ept\_page\_fault+0x535/0x7f0 \[kvm\]
   kvm\_mmu\_do\_page\_fault+0xee/0x1f0 \[kvm\]
   kvm\_mmu\_page\_fault+0x8d/0x620 \[kvm\]
   vmx\_handle\_exit+0x18c/0x5a0 \[kvm\_intel\]
   kvm\_arch\_vcpu\_ioctl\_run+0xc55/0x1c20 \[kvm\]
   kvm\_vcpu\_ioctl+0x2d5/0x980 \[kvm\]
   \_\_x64\_sys\_ioctl+0x8a/0xd0
   do\_syscall\_64+0xb5/0x730
   entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
   \</TASK\>
  ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< bab090e8fd5607f77379ea78b9d0c683cb1538a9; \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< a1e0f7150639bc30a8e75476d1c7daab77d44992; \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< df83746075778958954aa0460cca55f4b3fc9c02 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23402.md
Affected: Linux >= 11d45175111d933c5175acc28e56af2213dd5cd6, < bab090e8fd5607f77379ea78b9d0c683cb1538a9; >= 11d45175111d933c5175acc28e56af2213dd5cd6, < a1e0f7150639bc30a8e75476d1c7daab77d44992; >= 11d45175111d933c5175acc28e56af2213dd5cd6, < df83746075778958954aa0460cca55f4b3fc9c02; Linux 6.16
Fixed in: no fixed version listed yet

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-23402 being exploited?

There is no confirmed exploitation: CVE-2026-23402 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-26).

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< bab090e8fd5607f77379ea78b9d0c683cb1538a9; \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< a1e0f7150639bc30a8e75476d1c7daab77d44992; \>= 11d45175111d933c5175acc28e56af2213dd5cd6, \< df83746075778958954aa0460cca55f4b3fc9c02; Linux 6.16.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/bab090e8fd5607f77379ea78b9d0c683cb1538a9>
- patch: <https://git.kernel.org/stable/c/a1e0f7150639bc30a8e75476d1c7daab77d44992>
- patch: <https://git.kernel.org/stable/c/df83746075778958954aa0460cca55f4b3fc9c02>

## 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-23402>

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