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 1760F4D37BA for ; Sun, 18 Oct 2026 16:25:43 +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=1792340745; cv=none; b=iFyBQLCAtBB5uqTsl/0eE582KgNoBCx2i2hZnJXs1VSqtgCwXGP0Vkd9X9TaLSYG16sQDWvKqAk7beaBWZjVJemyoRekUsrlsFoJH8G551zSYlfeK2i4PRc5RArZqW+Ryhx51uhZBk/Mfuy2DEZORLMuyS1XcBt5U9sCFmHjaK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340745; c=relaxed/simple; bh=N0gMdfhgiwZZWr1hSR+v9MqIugmamKtJWaJEbxbNneg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WA0tshgX5Tu40Ucm3g8Myn/tZvPPM9NFpQe/jz1z3M+6aZXMt3YGEZKVDdeAOwBFVrLZ0Jxz9+v1ZROzE44id7cpVySIuUad99ej9b/R1e0EQdavl8zhZU8jKpZ4JOzajN9WfBbrLzlVHpMHTwsa4sIzcSv7M1aUx/epq8Cr0yA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I5xWi+sV; 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="I5xWi+sV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9C3E1F000C4; Sun, 18 Oct 2026 16:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340743; bh=uU70NNGFBwkMeqIPSIgSqMJpN4ScV19oiLJ5V6k5txg=; h=From:To:Cc:Subject:Date:Reply-To; b=I5xWi+sVShWP+paPil/N6klosu8d2cqAxr7ABQ1HYFIe4Gz/fcmXG11yareZ2Kzqr SjvgAMqCjfDdC4t3GABMuNvCwfnvs4i858aPuFqBUS5bskzYsP75rCJI8g6+ansLaZ zmjk0NlHulEYmFHqf1WYUaYYXNQ/LviYnPn8VL9c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98863: KVM: x86: Re-pend GET_NESTED_STATE_PAGES if getting said pages fails Date: Sun, 18 Oct 2026 17:47:18 +0200 Message-ID: <2026101837-CVE-2026-98863-adb3@gregkh> X-Mailer: git-send-email 2.56.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=2626; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tB6Tau6yY3zC4QbkhvD+Fqy64u8VKcVAcpl42GQXj84=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXqbKuQqHXt085YAv+8fTCT5+TA9Lz3zanNIVt3HJ3 te/+ZuyO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiS6YwzI9QfufDxM++NXKJ GvN11kpDoVCOFwxzeNnfFcdH7+xbOiv/1wI+jVVXtd4/AwA= 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: x86: Re-pend GET_NESTED_STATE_PAGES if getting said pages fails Re-pend GET_NESTED_STATE_PAGES before exiting to userspace if getting the nested pages fails in the KVM_RUN path. If userspace re-runs the vCPU, and vmcs02 holds valid PFNs from the *previous* run of L2, then KVM could re-enter L2 with stale, unpinned PFNs mapped into e.g. the vAPIC page. Note, both SVM and VMX (as of commit 11722439fb20 ("KVM: nVMX: Ensure KVM_REQ_GET_NESTED_STATE_PAGES is cleared on VM-Exit") ensure the request is cleared on VM-Exit (including the "forced" case), i.e. there is no risk of double-mapping due to emulated VMLAUNCH/VMRESUME/VMRUN *and* the request trying to map the nested pages. The Linux kernel CVE team has assigned CVE-2026-98863 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 671ddc700fd08b94967b1e2a937020e30c838609 and fixed in 6.18.56 with commit 525694a6021ec6c8f7ce1f38acdf2dd77698fec1 Issue introduced in 5.4 with commit 671ddc700fd08b94967b1e2a937020e30c838609 and fixed in 7.2.10 with commit 942192dbcd3a06695ef6b31cf10a41a21cf014d8 Issue introduced in 5.4 with commit 671ddc700fd08b94967b1e2a937020e30c838609 and fixed in 7.3-rc5 with commit 10180a277549339020b08000206092c07e0bff5a 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-98863 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/525694a6021ec6c8f7ce1f38acdf2dd77698fec1 https://git.kernel.org/stable/c/942192dbcd3a06695ef6b31cf10a41a21cf014d8 https://git.kernel.org/stable/c/10180a277549339020b08000206092c07e0bff5a