CVE-2026-23402
Received Received - Intake
KVM MMU Shadow-Present SPTE Overwrite Warning in Linux Kernel

Publication date: 2026-04-01

Last updated on: 2026-04-24

Assigner: kernel.org

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 ]---
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-01
Last Modified
2026-04-24
Generated
2026-05-27
AI Q&A
2026-04-01
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 10 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.16
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.19 (inc) to 6.19.11 (exc)
linux linux_kernel From 6.16.1 (inc) to 6.18.21 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :

This vulnerability can lead to instability or unexpected warnings in the Linux kernel when using KVM virtualization. Specifically, unauthorized or unexpected modifications to shadow-present SPTEs by host userspace could break the integrity of KVM's shadow paging mechanism.

Such disruptions might cause virtual machines to behave unpredictably, potentially leading to crashes or degraded performance. However, the description does not specify any direct security impact such as privilege escalation or data leakage.


Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's KVM (Kernel-based Virtual Machine) component related to memory management on x86 architectures. Specifically, it involves the handling of shadow-present SPTEs (Shadow Page Table Entries) in the MMU (Memory Management Unit). The issue arises because KVM's sanity check for overwriting a shadow-present SPTE with another SPTE pointing to a different physical frame number (PFN) only applies to direct MMUs, which do not have shadowed guest page tables (gPTEs).

While KVM prevents overwriting shadow-present SPTEs in response to guest writes, it does not detect writes originating from outside KVM's scope, such as those from host userspace. These undetected writes can break KVM's shadow paging rules, potentially causing warnings or errors in the kernel.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by monitoring the Linux kernel logs for specific warning messages related to KVM's memory management unit (MMU). In particular, look for warnings about overwriting shadow-present SPTEs in direct MMUs.

A typical warning message to watch for in the kernel logs is:

  • "WARNING: arch/x86/kvm/mmu/mmu.c:3069 at mmu_set_spte+0x1e4/0x440 [kvm], CPU#0: vmx_ept_stale_r/872"

You can check for such messages using the following command to search the kernel log:

  • sudo dmesg | grep -i 'kvm.*mmu_set_spte'

Alternatively, monitor the system journal for related warnings:

  • sudo journalctl -k | grep -i 'kvm.*mmu_set_spte'

These commands help detect if the kernel has logged warnings indicating the presence of this vulnerability or its exploitation attempts.


What immediate steps should I take to mitigate this vulnerability?

The immediate mitigation step is to update the Linux kernel to a version where this vulnerability has been resolved.

Since the issue involves KVM's handling of shadow-present SPTEs in direct MMUs, applying the patch or upgrading to a kernel version that includes the fix will prevent the vulnerability from being exploited.

Additionally, monitor kernel logs for any warning messages related to this issue to detect potential exploitation attempts.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart