← VULNERABILITIES

CVE-2026-99712

KVM: x86: Conditionally resched when restarting REP string emulation

UnscoredFix available
CVSS
—
EPSS
0.18% (p8)
Published
2026-11-20
Age
14d old
Modified
2026-11-23
Product
Linux Linux

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.

Fixed in

2b1c87db0a2950fd63d62e33570910d3063e1b6c · 3ad58cb4ec32dea14c915916c7298bf6c7903695 · 41a43510f77298d147a098eb182695d0001593c8 · 5a5f9853a78c45927cd0814ae67c5ad8b5021bcc · 6.12.118 · 6.18.64 · 7.3.5 · 8871ec66b296bf14f0c096efee42c65990a30b7f · ae85ac25eb671d174811cc3101549448671fd505 · c1293d2134c2d63741b197a1e5a6363894ed4bce · e74913838f4b93b5e23731cdcc09356d9697ec5b

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=2.6.35, <6.12.1186.12.118
LinuxKernel>=6.13.0, <6.18.646.18.64
LinuxKernel>=6.19.0, <7.3.57.3.5
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <2b1c87db0a2950fd63d62e33570910d3063e1b6c2b1c87db0a2950fd63d62e33570910d3063e1b6c
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <3ad58cb4ec32dea14c915916c7298bf6c79036953ad58cb4ec32dea14c915916c7298bf6c7903695
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <41a43510f77298d147a098eb182695d0001593c841a43510f77298d147a098eb182695d0001593c8
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <5a5f9853a78c45927cd0814ae67c5ad8b5021bcc5a5f9853a78c45927cd0814ae67c5ad8b5021bcc
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <8871ec66b296bf14f0c096efee42c65990a30b7f8871ec66b296bf14f0c096efee42c65990a30b7f
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <ae85ac25eb671d174811cc3101549448671fd505ae85ac25eb671d174811cc3101549448671fd505
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <c1293d2134c2d63741b197a1e5a6363894ed4bcec1293d2134c2d63741b197a1e5a6363894ed4bce
vendorLinux>=5cd21917da245fbe98bd443de2c7f519b3df6814, <e74913838f4b93b5e23731cdcc09356d9697ec5be74913838f4b93b5e23731cdcc09356d9697ec5b

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON