# CVE-2026-99712: KVM: x86: Conditionally resched when restarting REP string emulation

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:50:51.565Z
- **Modified:** 2026-11-23T08:18:12.000Z

## Who should check

- Anyone running Linux \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 3ad58cb4ec32dea14c915916c7298bf6c7903695; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 8871ec66b296bf14f0c096efee42c65990a30b7f; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 2b1c87db0a2950fd63d62e33570910d3063e1b6c; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< e74913838f4b93b5e23731cdcc09356d9697ec5b; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< c1293d2134c2d63741b197a1e5a6363894ed4bce; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 41a43510f77298d147a098eb182695d0001593c8; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 5a5f9853a78c45927cd0814ae67c5ad8b5021bcc; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< ae85ac25eb671d174811cc3101549448671fd505
- Anyone running Linux 2.6.35

## Description

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

KVM: x86: Conditionally resched when restarting REP string emulation

When restarting emulation, e.g. of a REP-prefixed string instruction,
conditionally reschedule as emulating guest writes can be deceptively slow
and expensive, e.g. when shadow paging is in use and each write can trigger
write tracking.

In a perfect world, restarting emulation (or not) would be less arbitrary,
e.g. would honor not only host events (NEED\_RESCHED, signals, etc.) but
also guest events (e.g. by checking kvm\_vcpu\_has\_events()).  Unfortunately,
as pointed out by Sashiko, pio\_in\_emulated()'s read-ahead logic is baked
into the restart logic, as KVM relies on restarting emulation to drain the
cache and avoid duplicate reads from the I/O port.  I.e. re-entering the
guest on kvm\_vcpu\_has\_events() or \_\_xfer\_to\_guest\_mode\_work\_pending() would
introduce architecturally-incorrect, guest-visible changes.

## Affected and fixed versions

- Linux: \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 3ad58cb4ec32dea14c915916c7298bf6c7903695; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 8871ec66b296bf14f0c096efee42c65990a30b7f; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 2b1c87db0a2950fd63d62e33570910d3063e1b6c; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< e74913838f4b93b5e23731cdcc09356d9697ec5b; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< c1293d2134c2d63741b197a1e5a6363894ed4bce; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 41a43510f77298d147a098eb182695d0001593c8; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 5a5f9853a78c45927cd0814ae67c5ad8b5021bcc; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< ae85ac25eb671d174811cc3101549448671fd505 (cvelist)
- Linux: 2.6.35 (cvelist)

## Technologies

Linux kernel

## 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-99712. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99712.md
Affected: Linux >= 5cd21917da245fbe98bd443de2c7f519b3df6814, < 3ad58cb4ec32dea14c915916c7298bf6c7903695; >= 5cd21917da245fbe98bd443de2c7f519b3df6814, < 8871ec66b296bf14f0c096efee42c65990a30b7f; >= 5cd21917da245fbe98bd443de2c7f519b3df6814, < 2b1c87db0a2950fd63d62e33570910d3063e1b6c; >= 5cd21917da245fbe98bd443…
Fixed in: Linux 3ad58cb4ec32dea14c915916c7298bf6c7903695, Linux 8871ec66b296bf14f0c096efee42c65990a30b7f, Linux 2b1c87db0a2950fd63d62e33570910d3063e1b6c, Linux 41a43510f77298d147a098eb182695d0001593c8, Linux 5a5f9853a78c45927cd0814ae67c5ad8b5021bcc

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 3ad58cb4ec32dea14c915916c7298bf6c7903695; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 8871ec66b296bf14f0c096efee42c65990a30b7f; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 2b1c87db0a2950fd63d62e33570910d3063e1b6c; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< e74913838f4b93b5e23731cdcc09356d9697ec5b; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< c1293d2134c2d63741b197a1e5a6363894ed4bce; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 41a43510f77298d147a098eb182695d0001593c8; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< 5a5f9853a78c45927cd0814ae67c5ad8b5021bcc; \>= 5cd21917da245fbe98bd443de2c7f519b3df6814, \< ae85ac25eb671d174811cc3101549448671fd505; Linux 2.6.35.

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

Yes. Fixed in Linux 3ad58cb4ec32dea14c915916c7298bf6c7903695, Linux 8871ec66b296bf14f0c096efee42c65990a30b7f, Linux 2b1c87db0a2950fd63d62e33570910d3063e1b6c, Linux 41a43510f77298d147a098eb182695d0001593c8, Linux 5a5f9853a78c45927cd0814ae67c5ad8b5021bcc. No fix listed yet: follow the vendor advisory.

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

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/3ad58cb4ec32dea14c915916c7298bf6c7903695>
- other: <https://git.kernel.org/stable/c/8871ec66b296bf14f0c096efee42c65990a30b7f>
- other: <https://git.kernel.org/stable/c/2b1c87db0a2950fd63d62e33570910d3063e1b6c>
- other: <https://git.kernel.org/stable/c/e74913838f4b93b5e23731cdcc09356d9697ec5b>
- other: <https://git.kernel.org/stable/c/c1293d2134c2d63741b197a1e5a6363894ed4bce>
- other: <https://git.kernel.org/stable/c/41a43510f77298d147a098eb182695d0001593c8>
- other: <https://git.kernel.org/stable/c/5a5f9853a78c45927cd0814ae67c5ad8b5021bcc>
- other: <https://git.kernel.org/stable/c/ae85ac25eb671d174811cc3101549448671fd505>

## 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-99712>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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