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=1793187623; b=s97ObbLoG6f5KLGqmVIv8X/bnW9FMpMaftGtrMkRKcujwynpbeWyplSZR/W+o5pqwrvw rBHOuTZyNudKSyWaPX2SkDbJzEfyrkYXEOG6yF4tXV+jw05wi60FzlyzyG4xWQZKSkGYM 0mDqbfJ9wjw0Mw5v9EPr6xT2h3h5/isz/D2c2K90IpzqBcOkLWzfcOLv5Cn8zjznNi+4r 9CcDoWgSLEWTHpji4j35PwpCq2BzjhMwJlMQV74SRlIi2U/ytnvCcyDPHEDF/c3DuDqbt +kSBKA5anYe7XdRb7EY4deI9x50T4vbLFFgn903AN5TVMSwkdlO9pQ4LmkHljKyri4g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187623; 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=Xu6Ut1uEr/JMgsHe2+JDLZH3ms72RveWbfo4OyIX/uI=; b=knPX1GBOiF7Yr5buGnFnJvic0jSBoDpWzQMCaALrciuwp0WzntAC+iaON0aCryikUqDn u5zHncn3dGMbU0CS7eoISUmfX0wpRfw7TG9L6cgmdglNnIy5KlFVNWK4qCYlACXg4J7Yu uWRJfYek08oI9yxmPg2Ske1P/yxlI4xdqslKA+oaCZ/BFAn2cUPM325dtKVxwr2vvvaHa Fj/TtWNe9vhG/h8EctvxeCUx5vMaULWaWjo4WWAzGsU6VlQzOK40IbzUct99kRxqDNUvu NX+AwaObxHzJ01g/7U3XC010u+Itp+ok087zNMKbu/Mi4RxmPQVfwCJ3/QuaaamMEJg== 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=iZdiQ1P0; 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 770F7606A31A for ; Wed, 28 Oct 2026 11:40:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=iZdiQ1P0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A88851F01828; Wed, 28 Oct 2026 11:40:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187623; bh=Xu6Ut1uEr/JMgsHe2+JDLZH3ms72RveWbfo4OyIX/uI=; h=From:To:Cc:Subject:Date:Reply-To; b=iZdiQ1P0IQIWeHvpNYhyiigghDPb8ulVVbMcULNPnfbNpvm/TauWaf0ZmsKnxPRd2 kc8zORPPNcWgUZl6mgz99X70zVYzzfBsVoq421MqPBLb0tZeuUEocE151zOhPiQyvG 6lrN8Z2lwlPEXohqYUpm8wFMnWfFJO01s1uAXldk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99176: KVM: nVMX: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry Date: Wed, 28 Oct 2026 11:36:03 +0100 Message-ID: <2026102809-CVE-2026-99176-c52b@gregkh> X-Mailer: git-send-email 2.56.0 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=3625; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QVAf+AQw3PLVgtDvOKRb2h2TvHfUlfVgX0bI1nntc/s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz9+1PioctuK5XVa42GbrHTl5RtFy72ZH3eTXyFpk+ tkyp/1iRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk/D3D/FzZ/ulzw1Zt2TR9 Hv/0I29vpapc2MIwP/qk7nP+6/YymedVf149HfOkoM1DGwA= 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: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry Reset the vCPU's MMU pointer back to the root MMU if loading L2 state fails in the "not from VM-Entry" case, i.e. when emulating RSM or handling KVM_SET_NESTED_STATE. Failure to unwind the MMU pointer results in KVM trying to run L1 with a nested MMU, and is especially problematic if the vCPU manages to free its nested state before the VM crashes. Constructing the root for a nested EPT MMU goes through vmcs12, which is dynamically allocated/freed when nVMX is enabled/disabled. And so if the nested state is freed with the MMU still pointing at the nested MMU, KVM will hit a NULL pointer deref when attempting to get L1=>L2 EPTP. BUG: kernel NULL pointer dereference, address: 0000000000000078 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 114a2d067 P4D 111743067 PUD 11141f067 PMD 0 Oops: Oops: 0000 [#1] SMP CPU: 20 UID: 1000 PID: 1272 Comm: nested_tdp_faul Not tainted 7.3.0-rc4-8c89f11d1a99b-sink-vm #1914 PREEMPTLAZY Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 RIP: 0010:nested_ept_get_eptp+0xb/0x10 [kvm_intel] Call Trace: kvm_mmu_load+0xcd/0x870 [kvm] kvm_arch_vcpu_ioctl_run+0x18f5/0x1f80 [kvm] kvm_vcpu_ioctl+0x2c7/0x970 [kvm] __x64_sys_ioctl+0x90/0xd0 do_syscall_64+0x9c/0x4d0 entry_SYSCALL_64_after_hwframe+0x4b/0x53 RIP: 0033:0x47491b Modules linked in: kvm_intel kvm irqbypass CR2: 0000000000000078 ---[ end trace 0000000000000000 ]--- RIP: 0010:nested_ept_get_eptp+0xb/0x10 [kvm_intel] [sean: write changelog] The Linux kernel CVE team has assigned CVE-2026-99176 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 and fixed in 6.18.59 with commit d00d5f534a8238674755e59826a6c7d3c8efb870 Issue introduced in 4.15 with commit 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 and fixed in 7.2.13 with commit c9716f956216eb74ab0aad7f633586edd49e0322 Issue introduced in 4.15 with commit 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 and fixed in 7.3 with commit c8f4cfe1cf93bce924e27f2abead7a4c4a487505 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-99176 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/d00d5f534a8238674755e59826a6c7d3c8efb870 https://git.kernel.org/stable/c/c9716f956216eb74ab0aad7f633586edd49e0322 https://git.kernel.org/stable/c/c8f4cfe1cf93bce924e27f2abead7a4c4a487505