CVE-2026-99341: KVM: x86: Request event processing for exception VM-Exits
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86: Request event processing for exception VM-Exits
Request event processing whenever kvm_queue_exception_vmexit() queues an exception VM-Exit. Most callers reach the helper through kvm_multiple_exception(), which already sets KVM_REQ_EVENT, but nested asynchronous page faults call it directly.
Without another event request, vcpu_enter_guest() skips kvm_check_and_inject_events() and re-enters L2. A subsequent VM-Exit can clear the pending exception while reconstructing vectoring state, losing the synthetic #PF VM-Exit. The APF reason remains PAGE_NOT_PRESENT and a later regular #PF can consume the stale value.
Setting KVM_REQ_EVENT in the common helper ensures that L1 receives the queued VM-Exit before KVM re-enters L2.
The Linux kernel CVE team has assigned CVE-2026-99341 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.1 with commit 7709aba8f71613ae5d18d8c00adb54948e6bedb3 and fixed in 6.12.117 with commit e663aa0755a11f13e45ebe65a0c37d47f5529560 Issue introduced in 6.1 with commit 7709aba8f71613ae5d18d8c00adb54948e6bedb3 and fixed in 6.18.61 with commit a92a07205e010029796b35924655aebb903b2e7c Issue introduced in 6.1 with commit 7709aba8f71613ae5d18d8c00adb54948e6bedb3 and fixed in 7.3.2 with commit 6513f7be321ea273ad19ceb08afeac2b93ea28dd Issue introduced in 6.1 with commit 7709aba8f71613ae5d18d8c00adb54948e6bedb3 and fixed in 7.4-rc1 with commit 88b23a2e8286b7016c3b58dc10093cf28c22aa3d
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99341
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/x86/kvm/x86.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/e663aa0755a11f13e45ebe65a0c37d47f5529560 https://git.kernel.org/stable/c/a92a07205e010029796b35924655aebb903b2e7c https://git.kernel.org/stable/c/6513f7be321ea273ad19ceb08afeac2b93ea28dd https://git.kernel.org/stable/c/88b23a2e8286b7016c3b58dc10093cf28c22aa3d