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 C4E0E407574 for ; Wed, 27 May 2026 13:02:24 +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=1779886947; cv=none; b=K3EvIhgMHQl/GNSapI+cYfrLrgCByUrnO1O7Bsm3bsIZECnFqw1tFW+yDc7NHce7TMcDWczh4WHPgVKke5prNhNWGFI00Xd2/AzvZoAjv/CSSWIPkl3A5//2PBbfIPKg5s6hlZR4UajA60etbizaIdbLmuDbqq6JtqYD12Xym5U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886947; c=relaxed/simple; bh=FanC39JjVdO/NJ5YBTdS0YVnavy1lX/8rW7es8EfJEg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u4DR1vmeV9KqdoboyANnBGJonwfRAsuWYeRQvqApG8kke+kdbb6aZs5f0KSyrmQqvOdPHzKyjdB0zfA9MhQJm2oSPr32DPOBMLeoGGHYXKa8qIMrVGKz1FfrGp2LmGPH3vpL/w5ZBNWicIZdnjTfeYgcTnywT/yvOYm8VEjW45Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xfOj1dvw; 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="xfOj1dvw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C76B41F00A3A; Wed, 27 May 2026 13:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886944; bh=aeLUHidAoJCARHhiEnxr37wwuqNOSwLNlaQbRhViutk=; h=From:To:Cc:Subject:Date:Reply-To; b=xfOj1dvwV0SWmfkrzW52NVYB+/jIFADNrmKxobQf+tDVk70VIhKySlWxTt28MihkO kw/7gHPRzXik5Z8ZssxDzV7s9o4xLfMIAMLXU3dfH9DmHFzOFMSRBN0nVUesBLvKp2 biBmxX+AUmeWiRWqox0ZuCn/GezZqX2HrUgBJ+Dw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46032: KVM: nSVM: Triple fault if restore host CR3 fails on nested #VMEXIT Date: Wed, 27 May 2026 14:59:23 +0200 Message-ID: <2026052749-CVE-2026-46032-9c0d@gregkh> X-Mailer: git-send-email 2.54.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=2671; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AyasqAlFNTemWbVoPiPBuaGgpdzITUmI6ioYsRPQBq0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlirzr3lM/ZumbiTsfbOnqys7r+fvIOe/j2/UfPewsLx Rh8d/TldcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBESr8xLJjsf7g/Xffi5s7w sy6CW8OyzQ8fuc8wP9zM9Yh05atLK84EnX1+LOAMY9Oi9QA= 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: nSVM: Triple fault if restore host CR3 fails on nested #VMEXIT If loading L1's CR3 fails on a nested #VMEXIT, nested_svm_vmexit() returns an error code that is ignored by most callers, and continues to run L1 with corrupted state. A sane recovery is not possible in this case, and HW behavior is to cause a shutdown. Inject a triple fault instead, and do not return early from nested_svm_vmexit(). Continue cleaning up the vCPU state (e.g. clear pending exceptions), to handle the failure as gracefully as possible. >From the APM: Upon #VMEXIT, the processor performs the following actions in order to return to the host execution context: ... if (illegal host state loaded, or exception while loading host state) shutdown else execute first host instruction following the VMRUN Remove the return value of nested_svm_vmexit(), which is mostly unchecked anyway. The Linux kernel CVE team has assigned CVE-2026-46032 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit d82aaef9c88aa27bce63751d6d6329920b1fe8da and fixed in 7.0.4 with commit 9a738cf170a4a2332ea3a15e23ec65b5757fe4a1 Issue introduced in 5.9 with commit d82aaef9c88aa27bce63751d6d6329920b1fe8da and fixed in 7.1-rc1 with commit 5d291ef0585ed880ed4dd71ea1a5965e0a65fb53 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-46032 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/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h 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/9a738cf170a4a2332ea3a15e23ec65b5757fe4a1 https://git.kernel.org/stable/c/5d291ef0585ed880ed4dd71ea1a5965e0a65fb53