# CVE-2026-98468: KVM: arm64: Fix spurious warning for benign stage 2 teardown race

> 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:15:20.882Z
- **Modified:** 2026-10-19T10:18:56.957Z

## Who should check

- Anyone running Linux \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< f44a92633136b409ebb9b7036fceb7e11de60a20; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< c23ed110d27ba99cf3a881986514f79aacedf476; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< 330346dda3bf5f8a3b06723024f7d906326270cf; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< 38b70fc453c3112f1a62583b89903ae41116cc27
- Anyone running Linux 6.11

## Description

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

KVM: arm64: Fix spurious warning for benign stage 2 teardown race

kvmtool was used to establish an L1 guest with 8 CPUs and 8 GiB of RAM, an
L2 guest with 4 CPUs and 4 GiB of RAM and an L3 guest with 2 CPUs and 2 GiB
of RAM, all of which was then exited.

Under memory pressure in the L0 host warnings were observed due to
migration triggered by compaction:

WARNING: arch/arm64/kvm/mmu.c:336 at \_\_unmap\_stage2\_range+0x64/0x80,
CPU\#5: kcompactd0/66

Which was, in turn, triggered by an MMU notifier for the host invalidation:

mmu\_notifier\_invalidate\_range\_start()
  -\> ... -\> kvm\_mmu\_notifier\_invalidate\_range\_start()
    -\> kvm\_mmu\_unmap\_gfn\_range()
      -\> kvm\_unmap\_gfn\_range()
        -\> kvm\_nested\_s2\_unmap()
          -\> kvm\_stage2\_unmap\_range()
            -\> \_\_unmap\_stage2\_range()
               -\> stage2\_apply\_range()
       	       \<- -EINVAL, triggering a WARN\_ON()

Racing with L0's teardown of stage 2 page tables:

exit\_mm()
  -\> mmput()
    -\> \_\_mmput()
      -\> exit\_mmap()
        -\> mmu\_notifier\_release()
	  -\> ... -\> kvm\_mmu\_notifier\_release()
            -\> kvm\_flush\_shadow\_all()
              -\> kvm\_arch\_flush\_shadow\_all()
	        -\> kvm\_free\_stage2\_pgd()
		  -\> \[ acquire kvm-\>mmu\_lock for write \]
		  -\> mmu-\>pgt = NULL \[ among other tasks \]
		  -\> \[ release kvm-\>mmu\_lock for write \]

It turns out there is a benign race resulting in a spurious warning:

	Thread A - notify: migration   \| Thread B - notify: release
	-------------------------------\|---------------------------------
	\< kvm-\>mmu\_lock held \>         \|
	stage2\_apply\_range()           \|
	  get mmu-\>pgt, check !NULL    \|
	  ...                          \| kvm\_arch\_flush\_shadow\_all()
	  cond\_resched\_rwlock\_write(); \|   \< contend, sleep kvm-\>mmu\_lock \>
	\< drop kvm-\>mmu\_lock \>         \|   \< acquire kvm-\>mmu\_lock\>
                                       \|   ...
				       \|   kvm\_free\_stage2\_pgd()
                                       \|     mmu-\>pgt = NULL
				       \|   \< invalidate MMU \>
				       \|   ...
				       \|   \< release kvm-\>mmu\_lock \>
	\[ scheduled \]		       \|
	stage2\_apply\_range()           \|
	  \< loop to next \>             \|
	  get, mmu-\>pgt, check !NULL   \|
	  is NULL, return -EINVAL      \|
        \_\_unmap\_stage2\_range()         \|
	  WARN\_ON(-EINVAL) \<--- entirely spurious - the race was handled
                                 correctly.

Fix the spurious warning by updating stage2\_apply\_range() to no longer
treat concurrent PGT teardown on lock release as an error - whether the
walker is tearing down page tables or doing something else this is a
legitimate reason to abort the operation without error.

This keeps the warning in place for all other circumstances.

In practice only \_\_unmap\_stage2\_range() actually does anything with the
error so this only impacts that.

## Affected and fixed versions

- Linux: \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< f44a92633136b409ebb9b7036fceb7e11de60a20; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< c23ed110d27ba99cf3a881986514f79aacedf476; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< 330346dda3bf5f8a3b06723024f7d906326270cf; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< 38b70fc453c3112f1a62583b89903ae41116cc27 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 38b70fc453c3112f1a62583b89903ae41116cc27 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98468.md
Affected: Linux >= ec14c272408af43d392f65f55e66f3b94fc61921, < f44a92633136b409ebb9b7036fceb7e11de60a20; >= ec14c272408af43d392f65f55e66f3b94fc61921, < c23ed110d27ba99cf3a881986514f79aacedf476; >= ec14c272408af43d392f65f55e66f3b94fc61921, < 330346dda3bf5f8a3b06723024f7d906326270cf; >= ec14c272408af43d392f65f…
Fixed in: Linux 330346dda3bf5f8a3b06723024f7d906326270cf, Linux 38b70fc453c3112f1a62583b89903ae41116cc27

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

There is no confirmed exploitation: CVE-2026-98468 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-98468?

It has no CVSS score yet. Unknown.

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

Linux \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< f44a92633136b409ebb9b7036fceb7e11de60a20; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< c23ed110d27ba99cf3a881986514f79aacedf476; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< 330346dda3bf5f8a3b06723024f7d906326270cf; \>= ec14c272408af43d392f65f55e66f3b94fc61921, \< 38b70fc453c3112f1a62583b89903ae41116cc27; Linux 6.11.

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

Yes. Fixed in Linux 330346dda3bf5f8a3b06723024f7d906326270cf, Linux 38b70fc453c3112f1a62583b89903ae41116cc27. Upgrade Linux to 38b70fc453c3112f1a62583b89903ae41116cc27 or later.

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

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/f44a92633136b409ebb9b7036fceb7e11de60a20>
- other: <https://git.kernel.org/stable/c/c23ed110d27ba99cf3a881986514f79aacedf476>
- other: <https://git.kernel.org/stable/c/330346dda3bf5f8a3b06723024f7d906326270cf>
- other: <https://git.kernel.org/stable/c/38b70fc453c3112f1a62583b89903ae41116cc27>

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

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