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

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < 3ad58cb4ec32dea14c915916c7298bf6c7903695 (affected, git); ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < 8871ec66b296bf14f0c096efee42c65990a30b7f (affected, git); ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < 2b1c87db0a2950fd63d62e33570910d3063e1b6c (affected, git); ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < e74913838f4b93b5e23731cdcc09356d9697ec5b (affected, git); ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < c1293d2134c2d63741b197a1e5a6363894ed4bce (affected, git); ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < 41a43510f77298d147a098eb182695d0001593c8 (affected, git); ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < 5a5f9853a78c45927cd0814ae67c5ad8b5021bcc (affected, git); ≥ 5cd21917da245fbe98bd443de2c7f519b3df6814; < ae85ac25eb671d174811cc3101549448671fd505 (affected, git). Source: CNA: Linux
- Linux / Linux: 2.6.35 (affected); ≥ 0; < 2.6.35 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.18%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/3ad58cb4ec32dea14c915916c7298bf6c7903695 (CNA: Linux)

- https://git.kernel.org/stable/c/8871ec66b296bf14f0c096efee42c65990a30b7f (CNA: Linux)

- https://git.kernel.org/stable/c/2b1c87db0a2950fd63d62e33570910d3063e1b6c (CNA: Linux)

- https://git.kernel.org/stable/c/e74913838f4b93b5e23731cdcc09356d9697ec5b (CNA: Linux)

- https://git.kernel.org/stable/c/c1293d2134c2d63741b197a1e5a6363894ed4bce (CNA: Linux)

- https://git.kernel.org/stable/c/41a43510f77298d147a098eb182695d0001593c8 (CNA: Linux)

- https://git.kernel.org/stable/c/5a5f9853a78c45927cd0814ae67c5ad8b5021bcc (CNA: Linux)

- https://git.kernel.org/stable/c/ae85ac25eb671d174811cc3101549448671fd505 (CNA: Linux)

- https://git.kernel.org/stable/c/41a43510f77298d147a098eb182695d0001593c8 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/5a5f9853a78c45927cd0814ae67c5ad8b5021bcc (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/ae85ac25eb671d174811cc3101549448671fd505 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/c1293d2134c2d63741b197a1e5a6363894ed4bce (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99712; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99712; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99712; retrieved 2026-11-23; source updated Not reported

Revision: 46b20e6f495c458e9f1afb35f9c52a33ed9e0b9ffed0e6c59a7718b776fc162b

Canonical: https://y2.dev/cve/CVE-2026-99712

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.