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 14B1D187555 for ; Thu, 30 May 2024 15:23:58 +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=1717082639; cv=none; b=Rh34ZC02qCquyez24hdb+4WTWC9stKJrQPG7rqmZHAUiSIITuClO6bKHbXwvP/hZSYFWzNdY6MJgVJOxD1XU8ineu94k5hbO8To5m/2BHLPfeuMpldNO1bw8k37RiehxUkX3dYfuDsOZkfnIzzF5t9wPvIpZjSEBlja7yylkR60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717082639; c=relaxed/simple; bh=cYn0dd5x3cKTAz2ZmY+QPB/xkf31IMbhM+kVKkPk6ZA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tL8p8vs3/D9tBqof29ML58XkslHrCD3DBeoYwuFmTsuguhonIkS9yqWk0TsJIly3hohCNYT3DShJe/vQyp7ozn89YEtION2IpeK+zL9yx4K/I98IxYBLP3CRueEICO0aw9+dec7ATkXfe3lNR/iS+yO9H94QRwPnJAOqGJSyBRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tDRyaV4i; 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="tDRyaV4i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51B3CC2BBFC; Thu, 30 May 2024 15:23:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717082638; bh=cYn0dd5x3cKTAz2ZmY+QPB/xkf31IMbhM+kVKkPk6ZA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tDRyaV4iYR/yPnrd/NPr5hgLKAspja5wFzM5XeUfRwnRPXV8AscuMc4u6fOAv7Usw VBgtcKKJTpVRcHc+z9uxpvACtLC3R9A6UvEDkOv7OGgvy/ltJk663ebhDh/3HA3wCk FGnbEoBImWs81y/93+1K/ng9O68RZkI1mX8l+1DM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52882: clk: sunxi-ng: h6: Reparent CPUX during PLL CPUX rate change Date: Thu, 30 May 2024 17:24:00 +0200 Message-ID: <2024053059-CVE-2023-52882-9b44@gregkh> X-Mailer: git-send-email 2.45.1 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=2918; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cYn0dd5x3cKTAz2ZmY+QPB/xkf31IMbhM+kVKkPk6ZA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRs/hTrRYl51d5rV6ReP47l2TNLsu/IX3lTgLz3L3uM afksyt0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETCLRkWTBCXKUl+E/d2jYdz UOfiPfX7ow+bM8x3MYjt1L/I+m/vVDut5tQpMypy3u4BAA== 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: clk: sunxi-ng: h6: Reparent CPUX during PLL CPUX rate change While PLL CPUX clock rate change when CPU is running from it works in vast majority of cases, now and then it causes instability. This leads to system crashes and other undefined behaviour. After a lot of testing (30+ hours) while also doing a lot of frequency switches, we can't observe any instability issues anymore when doing reparenting to stable clock like 24 MHz oscillator. The Linux kernel CVE team has assigned CVE-2023-52882 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 524353ea480b and fixed in 5.4.276 with commit fe11826ffa20 Issue introduced in 4.17 with commit 524353ea480b and fixed in 5.10.217 with commit bfc78b462849 Issue introduced in 4.17 with commit 524353ea480b and fixed in 5.15.159 with commit f1fa9a981620 Issue introduced in 4.17 with commit 524353ea480b and fixed in 6.1.91 with commit 70f64cb29014 Issue introduced in 4.17 with commit 524353ea480b and fixed in 6.6.31 with commit 0b82eb134d29 Issue introduced in 4.17 with commit 524353ea480b and fixed in 6.8.10 with commit 9708e5081cfc Issue introduced in 4.17 with commit 524353ea480b and fixed in 6.9 with commit 7e91ed763dc0 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-52882 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/clk/sunxi-ng/ccu-sun50i-h6.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/fe11826ffa200e1a7a826e745163cb2f47875f66 https://git.kernel.org/stable/c/bfc78b4628497eb6df09a6b5bba9dd31616ee175 https://git.kernel.org/stable/c/f1fa9a9816204ac4b118b2e613d3a7c981355019 https://git.kernel.org/stable/c/70f64cb29014e4c4f1fabd3265feebd80590d069 https://git.kernel.org/stable/c/0b82eb134d2942ecc669e2ab2be3f0a58d79428a https://git.kernel.org/stable/c/9708e5081cfc4f085690294163389bcf82655f90 https://git.kernel.org/stable/c/7e91ed763dc07437777bd012af7a2bd4493731ff