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 1745437149 for ; Thu, 29 Feb 2024 05:43:46 +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=1709185427; cv=none; b=kstwkv6PaRXaRDuP897zjARXNvBLowy2D+7eZ/bBBNHQ3ZE5mjlO3x+nnn+ki3C4MZRqfMqJEs7Jz4gsOZyvuW6TK0EFQZqzngx1WVli3ccA/geCqzit4vGRcqQhsHmPJwAXciJ2aaxIedPxMy8HAZMgrGbzRGlNZkmKUbED7LY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709185427; c=relaxed/simple; bh=NrOr4/ez/Z7VspJ28I6WQ2MsionvdjB/XLVbjYxxJ94=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ggfh2V1MckKdosIFm6NqNlkmcyQOEDjEnRaZHp6Y6invzbvO3ogRYVz4E61v1xoxEcF80UnhGZd8i9DhbaUFjYX7m8cYxX+c+yWuSjc/c2DQl68x9joh5wfBG0Qut28PgA2Sx9KjysTqo99TmC5ojNxkZNUf6cY7VmI5HnBBK0k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ro1eQNGg; 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="ro1eQNGg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3095FC433C7; Thu, 29 Feb 2024 05:43:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709185426; bh=NrOr4/ez/Z7VspJ28I6WQ2MsionvdjB/XLVbjYxxJ94=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ro1eQNGgqhg8iu4t/dkIyD9rFsF7xNAFnqu19o8Yp3z8+XwPPLGPJfd9zEL4HJRm/ CqhPdkOGo80TigIvyrLZrbPn2Y206xNhFpPzE7WAXiCJt59EyO6AtAK96jBzPy3oTT aOziuQL64QipuymoklotdO9MGhdTxHxM7r5qHDe8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: gregkh@kernel.org Subject: CVE-2023-52481: arm64: errata: Add Cortex-A520 speculative unprivileged load workaround Date: Thu, 29 Feb 2024 06:43:24 +0100 Message-ID: <2024022922-CVE-2023-52481-99a8@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=2586; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z333XgWU054I8AnHOncyIkpMTxOPztpZGyYheI9TB70=; b=owGbwMvMwCRo6H6F97bub03G02pJDKkPJKtC2+YkPGVa/6Ft374bT2+su1XCMNFh7UXu5fJZl vc5nFxCOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiWz0Y5nuLh0lq7vXVSQ8r KRG50ZE38/n+1wwLbnKmnRe99IdNKdRnwkSFpP38vkovAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: gregkh@kernel.org Description =========== In the Linux kernel, the following vulnerability has been resolved: arm64: errata: Add Cortex-A520 speculative unprivileged load workaround Implement the workaround for ARM Cortex-A520 erratum 2966298. On an affected Cortex-A520 core, a speculatively executed unprivileged load might leak data from a privileged load via a cache side channel. The issue only exists for loads within a translation regime with the same translation (e.g. same ASID and VMID). Therefore, the issue only affects the return to EL0. The workaround is to execute a TLBI before returning to EL0 after all loads of privileged data. A non-shareable TLBI to any address is sufficient. The workaround isn't necessary if page table isolation (KPTI) is enabled, but for simplicity it will be. Page table isolation should normally be disabled for Cortex-A520 as it supports the CSV3 feature and the E0PD feature (used when KASLR is enabled). The Linux kernel CVE team has assigned CVE-2023-52481 to this issue. Affected and fixed versions =========================== Fixed in 6.1.57 with commit 6e3ae2927b43 Fixed in 6.5.7 with commit 32b0a4ffcaea Fixed in 6.6 with commit 471470bc7052 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-52481 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: Documentation/arch/arm64/silicon-errata.rst arch/arm64/Kconfig arch/arm64/kernel/cpu_errata.c arch/arm64/kernel/entry.S arch/arm64/tools/cpucaps 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/6e3ae2927b432a3b7c8374f14dbc1bd9ebe4372c https://git.kernel.org/stable/c/32b0a4ffcaea44a00a61e40c0d1bcc50362aee25 https://git.kernel.org/stable/c/471470bc7052d28ce125901877dd10e4c048e513