Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154348; b=12zCDLjRBlWbqzkO3kETywEZbW9/LGqbCvQi37iqKPcfybem5uCzQHqaj0xOcyWRwGAV cqjrruFYLvBZ1E3W55VPK/+e0/aBWq/e3D3rBwc2QnSRTCRmSKBEMtKVgggvefWTzWnOf 0g9R7B3j4z/l40osjTLxhK5UJr8vek/Xwy73hjrDSpAH9p2ZjBeEtjfalTkkj47aziAwj nKpvgMmeHXNverpV0eUuhO4fhf4yVmMh6mJofS7qcctdy8+YGuWaxjy9CdQU6lddsoMah xOO14husfdOumqz5JOTdjry7JnUgq5HGngyqAwuqi8BZNEp4BUVldaR4DbcU0lCNzSA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154348; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=JFngIo8AXs2XlD+2KEOpOeP3RTD6ZexRDk5oh5LCXh8=; b=GAifQJQnS2GTHLgvY8AJyXEEOWvJiRJ/C4FpoDg43OpnVY9PCGlI+xP9alrQyF9F8Pn8 yx5C3oSAS5xUrSaNUKTC5lRHD6MTOlmXuNnLJLKkB/jNlfdf8HMPh0enmrpdmPPe36aV/ Hskj3F+KHQDOrZyAB46HQj6tc6rjP3Ge3pg0sVQhHGWPlZhY/6qYaeLT3Xtp21aBJVm+0 AQAEIkGFHJQ2sWaPbXgsm7lsn8HwxXgMhcmc0ss/DUMmhtfqVP01dP2FjtnMVOjc8NFyY N7VFtljif9kQgullWiz9u0aS3YXU5mPNXWs92BsKxYIDWpnj9j65i+zlEluqQ7h1QNA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=BOQrpI16; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEAF960A2623 for ; Fri, 20 Nov 2026 05:59:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=BOQrpI16 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C5361F000C4; Fri, 20 Nov 2026 05:59:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154348; bh=JFngIo8AXs2XlD+2KEOpOeP3RTD6ZexRDk5oh5LCXh8=; h=From:To:Cc:Subject:Date:Reply-To; b=BOQrpI16eaH5YRGISwssaCzNgrFr52vp4GALjDQkSvXAnIv08TfdOzXIK4so1pNdi rsSRINw4Wa1mNs4OtVhQavZjQ9e7nuYkYcG/nM3YPe2AlelecC0V2qxB+nyhIEugvD YC8ql4EXUuw/euYnA2QFKP+ugjmkoVeDXRKDypb0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99711: KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entry Date: Fri, 20 Nov 2026 06:51:37 +0100 Message-ID: <2026112006-CVE-2026-99711-46b1@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3382; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jpY9Hqy7dQvmOrgcX7q7Uz9qfP3HtYoRBRfYew92Xj8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7/f933sz1W7qtElv7hqs7mx2n+D72LLLbI3sVTXGF alyAScud8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBERCUYFqwMTZs9p9Ila9Fe ee1baY/zFfbMW8QwT/u8oILAsTXqQfefReowRBxaIvKlDQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entry Add a missing "break" in the inner for-loop of the open coded mess that unwinds MSRs back to the pre-VM-Enter state when VMLAUNCH/VMRESUME VM-Fails due to a consistency check that is caught by hardware but missed by KVM. I.e. move on to the next MSR in the VM-Entry load list after performing a write using a value found in the VM-Exit load list. Processing *every* matching entry in the VM-Exit load list makes the processing quadratic, which is problematic if the load lists are full of MSRs that are expensive to emulate. E.g. writing APIC_BASE triggers kvm_recalculate_apic_map() and a whole pile of unnecessary work. Functionally, arbitrarily restoring the value of the first matching entry is "fine", because none of this is architecturally correct: the load lists are never supposed to have been used in the first place. In practice, it's likely a moot point as no well-behaved VMM will have multiple, diverging entries in the load lists. The Linux kernel CVE team has assigned CVE-2026-99711 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit bd18bffca35397214ae68d85cf7203aca25c3c1d and fixed in 6.12.118 with commit 05fae367c6878d08f54a7c5bb6986a5e57e9bd1c Issue introduced in 4.20 with commit bd18bffca35397214ae68d85cf7203aca25c3c1d and fixed in 6.18.64 with commit 42b98982aedf40f5076bf045bf359df4dea09468 Issue introduced in 4.20 with commit bd18bffca35397214ae68d85cf7203aca25c3c1d and fixed in 7.3.5 with commit 6a4697ec81693f8db41a1c3ba81f3b9b2510879f Issue introduced in 4.20 with commit bd18bffca35397214ae68d85cf7203aca25c3c1d and fixed in 7.4-rc2 with commit c33ef9d334059f7cb167569ed7b4779752fe4425 Issue introduced in 4.14.113 with commit 05e788500b46cb3c45231ea51a3e4b36c2ccd3c0 Issue introduced in 4.19.36 with commit f35e2a685c8168cbe2b92def87b0c6c0d6b19152 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-99711 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/vmx/nested.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/05fae367c6878d08f54a7c5bb6986a5e57e9bd1c https://git.kernel.org/stable/c/42b98982aedf40f5076bf045bf359df4dea09468 https://git.kernel.org/stable/c/6a4697ec81693f8db41a1c3ba81f3b9b2510879f https://git.kernel.org/stable/c/c33ef9d334059f7cb167569ed7b4779752fe4425