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 4F2BE16CD30 for ; Fri, 12 Jul 2024 12:38:14 +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=1720787894; cv=none; b=HeyWcZ2mba84a3eKdszo8+KlgHNsZcNEEcZgAjFJ+VqK4UEeba2RI3K+0Lyf7W+LaH9MoCtfXAmG+kafG4HGkexTYVVqs7Fm20vkhYntTIV7lCR05yh2Vz84ufhf4o/lOtYjhR3WM/j0uFGsE8ZxxE8JgG2uWtHdWAPLoLXeO7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787894; c=relaxed/simple; bh=lR/BmdLNkU7Kg9B0AhyqAB/ZlKWsEGcPyL4PMdWtrUY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kzWHWNoGK7Wm9Vu/SSL8pWeJppvi+NSUV5Z5qCB0RD9cfpheehcvyWB0YAZ+nUkY2WQ8SvFrXSTynFtmQToFu4npNS3SWzxjtyAs+2ITbNoUMWe+//tFn9Ut6yvy0lGxQI0bpM2hfneVzhYzRR/9x4dlD8zpk22m76DAobTce7s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1aUJFr04; 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="1aUJFr04" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD9B6C32782; Fri, 12 Jul 2024 12:38:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787894; bh=lR/BmdLNkU7Kg9B0AhyqAB/ZlKWsEGcPyL4PMdWtrUY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1aUJFr04XKmzhX3krWCzocJcp+qD3kiGurWensaqjyXVz2fSIuHh9+9gggTulFZdJ TYm6l3mJnHpd45I/EohlWvePoavX241V2dCb8v/4noicSN00zl5de4DXXv4Le85tLy T6sSv0HaeKmuf8YTQaT/ZdKQc7+SD1coYaqBiR/U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40989: KVM: arm64: Disassociate vcpus from redistributor region on teardown Date: Fri, 12 Jul 2024 14:37:53 +0200 Message-ID: <2024071249-CVE-2024-40989-c8da@gregkh> X-Mailer: git-send-email 2.45.2 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=2204; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lR/BmdLNkU7Kg9B0AhyqAB/ZlKWsEGcPyL4PMdWtrUY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTlef6xj1aPM3mPqe3wuGv+3K2273/Xjv788XXC2Pty tTvr6+L7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJrJ7BMN9tzZp7sb82NP9r coi+7dFoee65hS/DXFG3F3antzCxKqz40PbMUj81Q1FlIgA= 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: KVM: arm64: Disassociate vcpus from redistributor region on teardown When tearing down a redistributor region, make sure we don't have any dangling pointer to that region stored in a vcpu. The Linux kernel CVE team has assigned CVE-2024-40989 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit e5a35635464b and fixed in 6.1.96 with commit 68df4fc449fc Issue introduced in 5.13 with commit e5a35635464b and fixed in 6.6.36 with commit 48bb62859d47 Issue introduced in 5.13 with commit e5a35635464b and fixed in 6.9.7 with commit 152b4123f21e Issue introduced in 5.13 with commit e5a35635464b and fixed in 6.10-rc5 with commit 0d92e4a7ffd5 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-2024-40989 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/vgic/vgic-init.c arch/arm64/kvm/vgic/vgic-mmio-v3.c arch/arm64/kvm/vgic/vgic.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/68df4fc449fcc24347209e500ce26d5816705a77 https://git.kernel.org/stable/c/48bb62859d47c5c4197a8c01128d0fa4f46ee58c https://git.kernel.org/stable/c/152b4123f21e6aff31cea01158176ad96a999c76 https://git.kernel.org/stable/c/0d92e4a7ffd5c42b9fa864692f82476c0bf8bcc8