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 8B1AA18CC13 for ; Sat, 8 Aug 2026 09:17:56 +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=1786180677; cv=none; b=QxrxDxHx8T/BgyQIFkIM2r8hG/n9bSgQ05EWZY0l3++CVqiXXGi+/UQG/Yz1MOChRwsnh54thsVvxryOtFUwZrsFmgpN2L5Ql9Wb2MsbqyCC9JJV02Z4yyEsphNJ4XOtTqi26Tus7ZE0tqwkaK9x5Z05GTcQLU22OabgBUzzDsM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786180677; c=relaxed/simple; bh=fHH1XzCRk6XxUDl9m1bqhMSEdEeOXWhlN2Nk1QjW4XY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XO/wL1flr/8eBdEHVBbfc5laag5uGfrywJitt8GWSczrLsrtMhCuA7U0wmxt95sCuIgInsLd0vm6fF0HhKVEpDtIgnjH+wUg+Iv1ktsc6GGgEFFyOmn2sgtzFB2UheKxquhErCcOVKYKmZez8d75U21GlNyp2tMhMfP2dBrcdh8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZVYm58Cn; 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="ZVYm58Cn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8875A1F000E9; Sat, 8 Aug 2026 09:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786180676; bh=QKcQzWJ+Beqb56LJ5tI3CLRs3u6d1V12YZMWsePnRC0=; h=From:To:Cc:Subject:Date:Reply-To; b=ZVYm58CnKbQ0mQcBwWCY9n4aBJMpyzqMgj452zf+plULsHS6KHsviC0v9tON2IeXV Y9/mAUpCrn6bjRiACctOXKFYLEcDnikEsfc+ANuD4acGUP1T0VWqRTWKXG7hvr8j8e 7hj7TNvtBLpw8JlBvHeGQEXD9YhkpAhj5zFlzUxA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68081: KVM: nVMX: Put vmcs12 pages if nested VM-Enter fails due to invalid guest state Date: Sat, 8 Aug 2026 11:17:33 +0200 Message-ID: <2026080832-CVE-2026-68081-ee6a@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=2674; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SPM2xZ4swQ5i9zMjnh+lGXA7spXum1O53dRbGZ/XIRQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFllX3Q2Tzt15uPpSxkzGxbULPhz4EzJmSnSTYp8Ncv/H c38fcrmQEcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMZM16hgUzs2xvfRGv5D5x adrzkztEXurK5P1nmMU8I2jF0gNbc88d3BjNoLc09wfTlCQA 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: Put vmcs12 pages if nested VM-Enter fails due to invalid guest state Put all vmcs12 pages if KVM synthesizes a nested VM-Exit due to invalid guest while emulating VMLAUNCH or VMRESUME. The invalid guest state path doesn't use nested_vmx_vmexit() as that API is intended to be used if and only if L2 is active, and the open coded equivalent neglects to put the vmcs12 pages. Failure to put the vmcs12 pages leaks any pinned pages (and/or mappings) if L1 retries VMLAUNCH/VMRESUME. Note, the !from_vmenter scenario doesn't suffer the same problem, as vmx_get_nested_state_pages() only gets/pins/maps the vmcs12 pages if L2 is active, i.e. if a "full" VM-Exit is guaranteed before KVM will retry getting vmcs12 pages. The Linux kernel CVE team has assigned CVE-2026-68081 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 96c66e87deeeb3cc78a3b82a1de8e365eec206c1 and fixed in 6.18.40 with commit 7996013b85687034d2e820cef94d6404192e3a3d Issue introduced in 5.2 with commit 96c66e87deeeb3cc78a3b82a1de8e365eec206c1 and fixed in 7.1.5 with commit 2c87a087c20632d68920272173b5d7c47f9bcf70 Issue introduced in 5.2 with commit 96c66e87deeeb3cc78a3b82a1de8e365eec206c1 and fixed in 7.2-rc4 with commit 2f2312c422fd2695da772cecb30c69994b795964 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-68081 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/7996013b85687034d2e820cef94d6404192e3a3d https://git.kernel.org/stable/c/2c87a087c20632d68920272173b5d7c47f9bcf70 https://git.kernel.org/stable/c/2f2312c422fd2695da772cecb30c69994b795964