Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E2E6501F5B for ; Wed, 16 Sep 2026 10:40:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555270; cv=none; b=qFE7JCrp1Xs6tOt/M8O/gU7kXSnYrvY7Hc8XbD4iu2raxaTRvxtoHvWnlio3Hh+ASqWQ0NMBTTLf3CK9LI6YKP95cFYJAyNCmFDslk7Q4DDEqJitVnJioW35i8MU6CtCSVwb8ebpifBme+xb215LXYJP8Ch6ucmIoUvsUGXhruk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555270; c=relaxed/simple; bh=9fKR17SyWqqIotWfoM70US5MqOnup5vxnq4SG/XrHiI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bKJyZVoBrM/ANoLyt2tH9NYn139WCAwiL7ym0Vdb4bdCBAHE/31RzIXI77ETBYCcVIw5nk4k78e7e25FdeRnNYHKnL/PleWGySWFfq7JPOnIwavWfN8qhyLZGoB5KPuiKMs/yPfAqei7cOTFi1g1f65FZq68Oits70EhepAyggc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m4cRf3qs; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="m4cRf3qs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33FD61F0089A; Wed, 16 Sep 2026 10:40:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555253; bh=q69e0AX618cNaHikOd79WB+juK6EELLOcKYJkrqAyd4=; h=From:To:Cc:Subject:Date:Reply-To; b=m4cRf3qs180pCZzpUMaS9H9Lj5O9li3RDh3bhVWbvHhXGGsl2ELRFocWPv/3Jn16F /0KIpuM/Lwz/+jouU1XHky89714sScprbjcDDBUgCrxwnFXh91uHix513mG+OOMw83 asG8TqO09m1wO9dNPED/xi0WVaGgwbgNcFUUtIT4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89929: KVM: nVM: Ensure INVVPID is emulated on the correct physical CPU Date: Wed, 16 Sep 2026 11:30:59 +0100 Message-ID: <2026091644-CVE-2026-89929-f917@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2981; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ATzI2eUP6aeIQosADIj8Uh+K4KxleduWtf+ZEqmKrFQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8mcafWkp6XDRMFU+vevI+4UH3W6YiqexOG0wXB8qf HzOq2DzjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI3DuG+bVbklQ//xHOrjoy oVtZ63er4fw5MxnmWcY7+9ltfnE/STwrI3Dfi7hvh2Y8AAA= 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: nVM: Ensure INVVPID is emulated on the correct physical CPU When emulating INVVPID, KVM executes INVVPID on the physical CPU using vpid02 (instead of the L1 assigned VPID), after doing some validations on the operands. However, it is possible that the physical CPU KVM executes INVVPID on is different from the CPU L2 is running on. For example, in the following scenario: - L2 runs on CPU #1 and exits to L1 (vmx->nested.vmcs02.cpu=1) - L1 migrates to CPU #2 and executes INVVPID - KVM executes INVVPID on CPU #2 - L1 migrates back to CPU #1 and runs L2 (vmx->nested.vmcs02.cpu=1) The TLB entries on CPU #1 are never invalidated, because INVVPID was executed on CPU #2, and vmcs02 never ran on a different pCPU (i.e. vmx_vcpu_load_vmcs() will *not* request KVM_REQ_TLB_FLUSH). Ensure that INVVPID is being executed on the same pCPU that L2 last ran on, and if not, fallback to clearing last_vpid=0 to trigger a full VPID flush on the next nested VM-Enter (as KVM will detect L1 using a different VPID for L2). If L2 ends up running on a different pCPU, KVM will flush the TLB anyway through vmx_vcpu_load_vmcs(). The Linux kernel CVE team has assigned CVE-2026-89929 to this issue. Affected and fixed versions =========================== Fixed in 6.12.110 with commit d03e721801ac54b9fdf05668aa0c069f07913b68 Fixed in 6.18.51 with commit 27bdeb5fd19046ffba9ff234e92fe553eb2efb30 Fixed in 7.2.5 with commit 9941850e8adf164d005dbd3774c4b79e91a3cb8e Fixed in 7.3-rc1 with commit 6d00e67326d831e6e610933a3800712f4ffe6ec1 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-89929 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/d03e721801ac54b9fdf05668aa0c069f07913b68 https://git.kernel.org/stable/c/27bdeb5fd19046ffba9ff234e92fe553eb2efb30 https://git.kernel.org/stable/c/9941850e8adf164d005dbd3774c4b79e91a3cb8e https://git.kernel.org/stable/c/6d00e67326d831e6e610933a3800712f4ffe6ec1