From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A894C2BB0A for ; Sat, 2 Mar 2024 21:53:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709416418; cv=none; b=iFGkNbaTP6FGjY+vPuynMR+hZNaNZMf/Lt+2PwFQd6kr8bT8YhRMCTrPQbWXevj62KsR8Ptc4l4NuVQI61H3gxW1etWOP0KfflXud8Tmj/axcHY23xr+OSKbNq5pYZcZoE2aX9lvH+LlAtAuRw9UjdhSVC55GdUgjgSdsj+RuhA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709416418; c=relaxed/simple; bh=FdwM4kPBSGMdG+1OMTiIBCJw3l3D+rIvqNMEn22foBo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VbiTRXMoxRPsyUGm7sR0+EIjmD/WiO1SbYRJ8iba5Xy++QeaDyGZP5Cpojb3EG/ZEPsm4fFgLPWAME+licCfw+b59lsbe+pNc9qXvGLUr4E03ypbFjKk2iJ7fokKb5Juubp/6cT3FT5HOIwv9dxorsrTAdsRLp6G8EXqy49nSKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zv/ooyoR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zv/ooyoR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DC3FC433C7; Sat, 2 Mar 2024 21:53:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709416418; bh=FdwM4kPBSGMdG+1OMTiIBCJw3l3D+rIvqNMEn22foBo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zv/ooyoRNULFbGZ+YIaIlPw6PgnxAiwKi99TM+DOe9/sMqVi2m9rmZIEKFgELp0D0 iOB7VGofLIrsh7fqMH+SWcRWgHb6Nufh6yqACNGkyntvoFYe8fBmFiBgM7e4nX/ylT gCFC5VQ2SSKUDRRiBeym0VfNbMHVActteNk5GHhI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52514: x86/reboot: VMCLEAR active VMCSes before emergency reboot Date: Sat, 2 Mar 2024 22:52:59 +0100 Message-ID: <2024030251-CVE-2023-52514-c93d@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2293; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FdwM4kPBSGMdG+1OMTiIBCJw3l3D+rIvqNMEn22foBo=; b=owGbwMvMwCRo6H6F97bub03G02pJDKmP528WeaR0U5zNIyP/m9DMS091FoZLvuGI2OwUn6kpW 6V7TkWuI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaSFsawYNUsO0GJ+4k+anpn Fq5j+MHNm2acx7BgyQvrhatOTslYPfvA3035b96tebu/BAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: x86/reboot: VMCLEAR active VMCSes before emergency reboot VMCLEAR active VMCSes before any emergency reboot, not just if the kernel may kexec into a new kernel after a crash. Per Intel's SDM, the VMX architecture doesn't require the CPU to flush the VMCS cache on INIT. If an emergency reboot doesn't RESET CPUs, cached VMCSes could theoretically be kept and only be written back to memory after the new kernel is booted, i.e. could effectively corrupt memory after reboot. Opportunistically remove the setting of the global pointer to NULL to make checkpatch happy. The Linux kernel CVE team has assigned CVE-2023-52514 to this issue. Affected and fixed versions =========================== Fixed in 6.1.56 with commit 1375d9600c38 Fixed in 6.5.6 with commit 65edea77d700 Fixed in 6.6 with commit b23c83ad2c63 Please see https://www.kernel.org or 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-2023-52514 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/include/asm/kexec.h arch/x86/include/asm/reboot.h arch/x86/kernel/crash.c arch/x86/kernel/reboot.c arch/x86/kvm/vmx/vmx.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/1375d9600c38c231163de584656b07aef9a27b0d https://git.kernel.org/stable/c/65edea77d7006140c6290e7f46009d75e02d3273 https://git.kernel.org/stable/c/b23c83ad2c638420ec0608a9de354507c41bec29