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 0418F3D331E for ; Mon, 27 Jul 2026 20:11:21 +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=1785183083; cv=none; b=tvrwdo9+HYTqboRzJz/ggsGLNApW8iHWkrFPfbnQ18NeMP9cFTWg9z6zdQmr8+uqitivI2vfIaEBuebCGOzZPp/OhAPUGWQ4If5AVVK++n/gFzIO1+tCOQneFHVq1k5YOTcbJJZKApGh9i9hM7qY2ZPMP9RbrrtRXT4mu4Sq83k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785183083; c=relaxed/simple; bh=nTc6MNp05YUXmL054qa0M5ApexpNDpplAptCOzEVzXM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lob0JsJ0v6Fyp4ufIYm1fWMB759cV+IS+DojvtVRzrvmUYtretvIul5cVUMK/b6/SX6mpoc/6x8PgaCUx1DZDEspLvvu4LdP2ePUiVrjcI7fwm9qTdEGISsURJuCCqe0WE4XoBm18paOynovpmOTlK9iZKz04TD6JebExLMJQB4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JYhcYudH; 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="JYhcYudH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4A7B1F000E9; Mon, 27 Jul 2026 20:11:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785183081; bh=sVoEG/Vc0bDN72YX7IZbpn3c53D50YK+kms6qPTc5QA=; h=From:To:Cc:Subject:Date:Reply-To; b=JYhcYudHwwKsOnCUTBDNB07VC63FH6tKvyBhFTEqE2xXt/d6LxKWaOtzEk79Jc+ho WQ1j1wd59hAcGoUnvoDFmDL30TmE2aTCJNNr0eC0lDxrz70DDKTvk9e01iDmTaqhSj aRaClolXSe+NGj6QEnh9VMtdcv1hikIF6+zee2C0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64555: KVM: arm64: nv: Fix SPSR_EL2 restore in kvm_hyp_handle_mops() Date: Mon, 27 Jul 2026 22:10:53 +0200 Message-ID: <2026072738-CVE-2026-64555-037b@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=2837; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=V57Iz3zrfYco+7nmVFgJcuVPb2BoySCvqwCqaI7CpUM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnpu+2MzCq53WZPZ3jnuiR+/rR3H2O4nvse+/p5f5hb0 bGcSzIfO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiH6MY5uc17W/Z4CD9xCn1 7u/TUfHv/Vb7XGBYcPPcf5YZR/dsW731kRCXv9V2pS0/fwAA 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: arm64: nv: Fix SPSR_EL2 restore in kvm_hyp_handle_mops() kvm_hyp_handle_mops() resets the single-step state machine as part of rewinding state for a MOPS exception by modifying vcpu_cpsr() and writing the result directly into hardware. In the case of nested virtualization, vcpu_cpsr() is a synthetic value such that the rest of KVM can deal with vEL2 cleanly. That means the value requires translation before being written into hardware, which is unfortunately missing from the MOPS handler. Fix it by directly modifying SPSR_EL2 and avoiding the synthetic state altogether, which will be resynchronized on the next 'full' exit back to KVM. The Linux kernel CVE team has assigned CVE-2026-64555 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 2de451a329cf662beeba71f63c7f83ee24ca6642 and fixed in 6.12.97 with commit 10a568010e827108d149779908850afaec898846 Issue introduced in 6.7 with commit 2de451a329cf662beeba71f63c7f83ee24ca6642 and fixed in 6.18.40 with commit 884b44256041ec6b2dcbe8e6a67384d26145cba1 Issue introduced in 6.7 with commit 2de451a329cf662beeba71f63c7f83ee24ca6642 and fixed in 7.1.5 with commit dd3b237eb7780d65eae296d3d3a70012b6e7a02f Issue introduced in 6.7 with commit 2de451a329cf662beeba71f63c7f83ee24ca6642 and fixed in 7.2-rc4 with commit ff1022c3de46753eb7eba2f6efd990569e66ff95 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-64555 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/arm64/kvm/hyp/include/hyp/switch.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/10a568010e827108d149779908850afaec898846 https://git.kernel.org/stable/c/884b44256041ec6b2dcbe8e6a67384d26145cba1 https://git.kernel.org/stable/c/dd3b237eb7780d65eae296d3d3a70012b6e7a02f https://git.kernel.org/stable/c/ff1022c3de46753eb7eba2f6efd990569e66ff95