CVE-2026-99712

Source
https://cve.org/CVERecord?id=CVE-2026-99712
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99712.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99712
Published
2026-11-20T05:50:51Z
Modified
2026-11-20T07:01:11Z
Summary
KVM: x86: Conditionally resched when restarting REP string emulation
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99712.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5cd21917da245fbe98bd443de2c7f519b3df6814
Fixed
c1293d2134c2d63741b197a1e5a6363894ed4bce
Fixed
41a43510f77298d147a098eb182695d0001593c8
Fixed
5a5f9853a78c45927cd0814ae67c5ad8b5021bcc
Fixed
ae85ac25eb671d174811cc3101549448671fd505

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99712.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.35
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99712.json"