# CVE-2026-89928: KVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; 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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T10:32:20.173Z
- **Modified:** 2026-10-19T09:18:38.467Z

## Who should check

- Anyone running Linux \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< 41debfc98526c0a95c41a62435aca0a70340a26d; \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< 8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d; \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< e428f9779a43737d830111238816f1928b07aefb
- Anyone running Linux 6.15

## Description

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

KVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk

\_\_kvm\_rmap\_lock() deliberately elides the rmap lock when it observes an
empty rmap.  In that case kvm\_rmap\_lock\_readonly() also re-enables
preemption and returns zero, so the caller holds neither the rmap lock
nor a preemption reference.  The elision documents the invariant it
relies on:

	 \* Elide the lock if the rmap is empty, as lockless walkers (read-only
	 \* mode) don't need to (and can't) walk an empty rmap, nor can they add
	 \* entries to the rmap.  I.e. the only paths that process empty rmaps
	 \* do so while holding mmu\_lock for write, and are mutually exclusive.

kvm\_rmap\_age\_gfn\_range() ignores the returned value and unconditionally
enters for\_each\_rmap\_spte\_lockless().  The iterator started with
rmap\_get\_first(), which re-reads rmap\_head-\>val rather than using the
value returned by the lock.  If a writer populates the rmap between the
lock's read and the iterator's re-read, the aging path walks the newly
installed rmap without holding its lock.

For a KVM\_RMAP\_MANY rmap this leaves the walker following a
pte\_list\_desc chain that it never locked.  A writer holding mmu\_lock for
write may free that chain (e.g. kvm\_zap\_all\_rmap\_sptes() on the recycle
path, or any rmap zap) via kmem\_cache\_free() while the walk is in
progress, giving a slab use-after-free.  Nothing serialises the two: the
aging path runs without mmu\_lock when CONFIG\_KVM\_MMU\_LOCKLESS\_AGING=y,
and the rmap lock that would otherwise exclude the writer was elided.
Because the empty path re-enables preemption, the interval between the
two reads can span an arbitrary scheduling delay.

Fix the class of bug by having the lockless walk consume the value
returned by the lock instead of re-reading the rmap.  Split
rmap\_get\_first() into \_\_rmap\_get\_first(), which starts an iterator from
an already-read rmap value, and make for\_each\_rmap\_spte\_lockless() take
that value and call \_\_rmap\_get\_first() directly.
kvm\_rmap\_age\_gfn\_range() passes the value returned by
kvm\_rmap\_lock\_readonly(): when the lock was elided the value is zero,
\_\_rmap\_get\_first() returns NULL, and the walk is skipped.  No lockless
walker re-reads the rmap, so the lock-elision invariant cannot be
violated, and no lock()-without-paired-unlock() path is added to the
aging code.

## Affected and fixed versions

- Linux: \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< 41debfc98526c0a95c41a62435aca0a70340a26d; \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< 8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d; \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< e428f9779a43737d830111238816f1928b07aefb (cvelist)
- Linux: 6.15 (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-89928. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89928.md
Affected: Linux >= af3b6a9eba48419732b07a0472db7160282f0f39, < 41debfc98526c0a95c41a62435aca0a70340a26d; >= af3b6a9eba48419732b07a0472db7160282f0f39, < 8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d; >= af3b6a9eba48419732b07a0472db7160282f0f39, < e428f9779a43737d830111238816f1928b07aefb; Linux 6.15
Fixed in: Linux 41debfc98526c0a95c41a62435aca0a70340a26d, Linux 8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d

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

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

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

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< 41debfc98526c0a95c41a62435aca0a70340a26d; \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< 8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d; \>= af3b6a9eba48419732b07a0472db7160282f0f39, \< e428f9779a43737d830111238816f1928b07aefb; Linux 6.15.

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

Yes. Fixed in Linux 41debfc98526c0a95c41a62435aca0a70340a26d, Linux 8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d. No fix listed yet: follow the vendor advisory.

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

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/41debfc98526c0a95c41a62435aca0a70340a26d>
- other: <https://git.kernel.org/stable/c/8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d>
- other: <https://git.kernel.org/stable/c/e428f9779a43737d830111238816f1928b07aefb>

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

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