# CVE-2026-98717: KVM: x86/mmu: Bail from shadow walks if the root is invalid or a dummy

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:46:51.862Z
- **Modified:** 2026-10-21T13:21:39.807Z

## Who should check

- Anyone running Linux \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 951fce1510645ba5df38da6fb85ece5726ec347d; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< e1bcabc07efd029ab414894127411129ffdb8b48; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 97c1dcce17ef27853860c781f9912257e6adbf7c; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 681e31f03ec9219099a66a0f6e1bc48e1b5aa914; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< b6249c1d5665098c8bf12f8d3e4712bf04c775bc
- Anyone running Linux 6.6

## Description

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

KVM: x86/mmu: Bail from shadow walks if the root is invalid or a dummy

When walking shadow page tables, immediately terminate the walk if the root
is a "dummy" root, i.e. a root whose top-level page table is backed by the
zero page, but otherwise doesn't exist.  If memslot creation races with a
stage-2 page fault (EPT violation or \#NPF) from L2, then if the stars align,
KVM will attempt to walk shadow page tables using the zero page and hit a
NULL pointer deref.

  BUG: kernel NULL pointer dereference, address: 0000000000000021
  \#PF: supervisor read access in kernel mode
  \#PF: error\_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: Oops: 0000 \[\#1\] SMP
  CPU: 30 UID: 1000 PID: 941 Comm: qemu Not tainted 7.2.0-rc2-1b731e5ded48-next-vm \#1741 PREEMPTLAZY
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
  RIP: 0010:\_\_kvm\_mmu\_invalidate\_addr+0xea/0x210 \[kvm\]
  Call Trace:
   \<TASK\>
   kvm\_mmu\_invalidate\_addr+0x92/0xe0 \[kvm\]
   \_\_kvm\_inject\_emulated\_page\_fault+0x67/0x80 \[kvm\]
   ept\_page\_fault+0x160/0x850 \[kvm\]
   kvm\_mmu\_do\_page\_fault+0x102/0x1f0 \[kvm\]
   kvm\_mmu\_page\_fault+0x8e/0x6b0 \[kvm\]
   vmx\_handle\_exit+0x163/0x640 \[kvm\_intel\]
   kvm\_arch\_vcpu\_ioctl\_run+0x960/0x2120 \[kvm\]
   kvm\_vcpu\_ioctl+0x2c7/0x970 \[kvm\]
   \_\_x64\_sys\_ioctl+0x90/0xd0
   do\_syscall\_64+0x67/0x5f0
   entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
  RIP: 0033:0x7f606d0b53bb

Opportunistically harden the shadow walks against fully invalid roots, but
WARN, as all callers are expected/required to pre-check for a valid root.
Don't WARN in the dummy root case as the whole point of using a dummy root
is to provide a root that's valid enough to enter the guest, i.e. it should
Just Work for all flows except those that \*need\* to know about dummy roots.

Alternatively, KVM could allocate a dedicated page and associated shadow
page structure for the dummy root, which is very tempting as it such an
approach should be more resilient against unexpected behavior.  But that
would be a much larger and thus riskier change than simply terminating
walks of dummy roots.

## Affected and fixed versions

- Linux: \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 951fce1510645ba5df38da6fb85ece5726ec347d; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< e1bcabc07efd029ab414894127411129ffdb8b48; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 97c1dcce17ef27853860c781f9912257e6adbf7c; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 681e31f03ec9219099a66a0f6e1bc48e1b5aa914; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< b6249c1d5665098c8bf12f8d3e4712bf04c775bc (cvelist)
- Linux: 6.6 (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-98717. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98717.md
Affected: Linux >= 0e3223d8d00ac05849661f1b8b476d3caca251cf, < 951fce1510645ba5df38da6fb85ece5726ec347d; >= 0e3223d8d00ac05849661f1b8b476d3caca251cf, < e1bcabc07efd029ab414894127411129ffdb8b48; >= 0e3223d8d00ac05849661f1b8b476d3caca251cf, < 97c1dcce17ef27853860c781f9912257e6adbf7c; >= 0e3223d8d00ac05849661f1…
Fixed in: Linux 951fce1510645ba5df38da6fb85ece5726ec347d, Linux 97c1dcce17ef27853860c781f9912257e6adbf7c, Linux 681e31f03ec9219099a66a0f6e1bc48e1b5aa914

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

There is no confirmed exploitation: CVE-2026-98717 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 951fce1510645ba5df38da6fb85ece5726ec347d; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< e1bcabc07efd029ab414894127411129ffdb8b48; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 97c1dcce17ef27853860c781f9912257e6adbf7c; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< 681e31f03ec9219099a66a0f6e1bc48e1b5aa914; \>= 0e3223d8d00ac05849661f1b8b476d3caca251cf, \< b6249c1d5665098c8bf12f8d3e4712bf04c775bc; Linux 6.6.

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

Yes. Fixed in Linux 951fce1510645ba5df38da6fb85ece5726ec347d, Linux 97c1dcce17ef27853860c781f9912257e6adbf7c, Linux 681e31f03ec9219099a66a0f6e1bc48e1b5aa914. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/951fce1510645ba5df38da6fb85ece5726ec347d>
- other: <https://git.kernel.org/stable/c/e1bcabc07efd029ab414894127411129ffdb8b48>
- other: <https://git.kernel.org/stable/c/97c1dcce17ef27853860c781f9912257e6adbf7c>
- other: <https://git.kernel.org/stable/c/681e31f03ec9219099a66a0f6e1bc48e1b5aa914>
- other: <https://git.kernel.org/stable/c/b6249c1d5665098c8bf12f8d3e4712bf04c775bc>

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

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