AZL-115576: CVE-2026-99712 affecting package kernel 6.6.161.1-1
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 (NEEDRESCHED, signals, etc.) but also guest events (e.g. by checking kvmvcpuhasevents()). Unfortunately, as pointed out by Sashiko, pioinemulated()'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 kvmvcpuhasevents() or xfertoguestmodeworkpending() would introduce architecturally-incorrect, guest-visible changes.