GHSA-3W5C-468G-WM9V
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31In 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": [],
"aliases": [
"CVE-2026-99712"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:07Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86: Conditionally resched when restarting REP string emulation\n\nWhen restarting emulation, e.g. of a REP-prefixed string instruction,\nconditionally reschedule as emulating guest writes can be deceptively slow\nand expensive, e.g. when shadow paging is in use and each write can trigger\nwrite tracking.\n\nIn a perfect world, restarting emulation (or not) would be less arbitrary,\ne.g. would honor not only host events (NEED_RESCHED, signals, etc.) but\nalso guest events (e.g. by checking kvm_vcpu_has_events()). Unfortunately,\nas pointed out by Sashiko, pio_in_emulated()\u0027s read-ahead logic is baked\ninto the restart logic, as KVM relies on restarting emulation to drain the\ncache and avoid duplicate reads from the I/O port. I.e. re-entering the\nguest on kvm_vcpu_has_events() or __xfer_to_guest_mode_work_pending() would\nintroduce architecturally-incorrect, guest-visible changes.",
"id": "GHSA-3w5c-468g-wm9v",
"modified": "2026-11-23T09:31:00Z",
"published": "2026-11-20T06:32:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99712"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2b1c87db0a2950fd63d62e33570910d3063e1b6c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3ad58cb4ec32dea14c915916c7298bf6c7903695"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/41a43510f77298d147a098eb182695d0001593c8"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/5a5f9853a78c45927cd0814ae67c5ad8b5021bcc"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8871ec66b296bf14f0c096efee42c65990a30b7f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ae85ac25eb671d174811cc3101549448671fd505"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c1293d2134c2d63741b197a1e5a6363894ed4bce"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e74913838f4b93b5e23731cdcc09356d9697ec5b"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.