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 83EC3338F58 for ; Mon, 15 Sep 2025 14:48:45 +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=1757947725; cv=none; b=HJevD1pkfeGiotZVVqgdOplsIdllFPUQGkUTSYILAHbDge3+zWsQGGSuviHMQZtwtxIw4JUAB67kCAAKWfck94+tS8hErE6RAf3a2qjtgDKpzYSTD8Ex4efG451K5nZ47Sf4Wan+8YkAehyZjspDKkgKRFfv7q2Iw0Oe1sVYiR0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947725; c=relaxed/simple; bh=dWbVI50RQrmlzq7DlZEIrsolgu1n6B96BHLck+wAdc8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CiHgLvBqBjqAJ21j5v9r6f3Ca7iUMqreLPfJmoUwK+i7KVdqqf2e9Gni7dSjX4rot5A53HiC6hmQnDFpklmGJxUCGhVKs8O554gUCTvH1fc3WJ8lUgR+Q9PEIsgW3fBScxbsh6a7d3iOuYrh/cT0qWcusj3uv9C7N2aWUmzg+sU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IDmRnw6J; 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="IDmRnw6J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A908C4CEF1; Mon, 15 Sep 2025 14:48:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947725; bh=dWbVI50RQrmlzq7DlZEIrsolgu1n6B96BHLck+wAdc8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IDmRnw6JIRPgK5uM+lM5Da3hQxvFDO3IsdLUtdm+GoHMcLspBoL4E7tYXFi9ej4p9 StG96/TvP2qe35PHQ/KehSZ0S1bJXPo38B55WCqCpTGnXCUrNiQ0In59kfUzPMrFAv FRy7kUeSKLoeeGZdRtp68SsWsC3l929w/VN/6C2k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53254: cacheinfo: Fix shared_cpu_map to handle shared caches at different levels Date: Mon, 15 Sep 2025 16:46:29 +0200 Message-ID: <2025091503-CVE-2023-53254-0aa0@gregkh> X-Mailer: git-send-email 2.51.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=2242; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vuhTb1EfeEAZwbMP/DreX5idOO5N4Xholdq/jJ6dgvg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1FZHfQzsiVZeo/VlxqmMoGd3V1+5dzb/zc89R6dUX r+26YyyRUcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBM5FYwwzxdvUtR+21YfR8v Pf3Ltd766WFfFU6GWUxT94ppf0ne//ZX+XkuSXWt5WZK0gA= 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: cacheinfo: Fix shared_cpu_map to handle shared caches at different levels The cacheinfo sets up the shared_cpu_map by checking whether the caches with the same index are shared between CPUs. However, this will trigger slab-out-of-bounds access if the CPUs do not have the same cache hierarchy. Another problem is the mismatched shared_cpu_map when the shared cache does not have the same index between CPUs. CPU0 I D L3 index 0 1 2 x ^ ^ ^ ^ index 0 1 2 3 CPU1 I D L2 L3 This patch checks each cache is shared with all caches on other CPUs. The Linux kernel CVE team has assigned CVE-2023-53254 to this issue. Affected and fixed versions =========================== Fixed in 6.1.18 with commit 2f588d0345d69a35e451077afed428fd057a5e34 Fixed in 6.2.5 with commit dea49f2993f57d8a2df2cacb0bf649ef49b28879 Fixed in 6.3 with commit 198102c9103fc78d8478495971947af77edb05c1 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-2023-53254 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: drivers/base/cacheinfo.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/2f588d0345d69a35e451077afed428fd057a5e34 https://git.kernel.org/stable/c/dea49f2993f57d8a2df2cacb0bf649ef49b28879 https://git.kernel.org/stable/c/198102c9103fc78d8478495971947af77edb05c1