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 7D589BA3D for ; Tue, 9 Dec 2025 00:04:23 +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=1765238663; cv=none; b=hU1PxTjfhWHgv80Ctumcx/YM2GPYTkoZtlPeEFzwpgAti+Y413cTkpbr58/RTlAYc+ljkBtnIUXf6Kiu9APBOdB3O4KQkjyWJMG8AcV/YeR938Z1Gzkt/00cEVmEe3t/iD0JGQ9eeUXevPuYPSCfuiz7M6/gDnvrDqh2rVdrPrs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238663; c=relaxed/simple; bh=vOajhIwk2+fhsVr5Y4FKqM/yBQzbm98CCKATlTh3c8s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kPUnrzyW5IvYC4OTJSKUfQJyvb0/+3N1CshELfVTwXhoQgdK4dTOjE204sy6gLvUpELq4HQWwBinteFCYaNihaRr5rdjO7t6w6rJQHp683LU8T1UHL0SH3EgLDRoFcPjQXl0RoO2mkEzrBJh5vFNU1vp5X9w2GS3I/rU2ukQkt0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PbSZ6rZJ; 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="PbSZ6rZJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3A45C4CEF1; Tue, 9 Dec 2025 00:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238662; bh=vOajhIwk2+fhsVr5Y4FKqM/yBQzbm98CCKATlTh3c8s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=PbSZ6rZJ90M2MgbyPSsb/W0NA/Vakg+G4vdk3dgwXj0hjXfSHeiAwZe0l0uORLYvW aJl8WRfSwfhHLWrp69Pnp4XtE/e+DUUmKyzPZRAWyXLbRlFQcbXpHEIRmA1BJGhzs+ kl8LHBicUgnwhgzvzDSGozhLWtOFQbT2DOjWKKOc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53807: clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider() Date: Tue, 9 Dec 2025 09:02:28 +0900 Message-ID: <2025120943-CVE-2023-53807-63bb@gregkh> X-Mailer: git-send-email 2.52.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=2709; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Zah3UzjF5KE8cKAP+Z2LfWf6QRDzcccagKnOiY7JS8o=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmac/V4vW675ybmNRxzPi0bNdN04+K8alK+qU2DwT6N hpN9rrTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMRD2SYKzbXeMbbfz96DH6J P3tqyvUkf9ZcXYY5fCbGJo5eQYGFxTmvvkRGyN/+97cVAA== 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: clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider() Smatch detected this potential error pointer dereference clk_wzrd_register_divider(). If devm_clk_hw_register() fails then it sets "hw" to an error pointer and then dereferences it on the next line. Return the error directly instead. The Linux kernel CVE team has assigned CVE-2023-53807 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 5a853722eb32188647a541802d51d0db423b9baf and fixed in 5.15.121 with commit 2f276dd9c0f835242836d9f6823035158ce2585c Issue introduced in 5.13 with commit 5a853722eb32188647a541802d51d0db423b9baf and fixed in 6.1.39 with commit b35cb0c05b8dafe23ae5e8b605a91b88bcf4aba7 Issue introduced in 5.13 with commit 5a853722eb32188647a541802d51d0db423b9baf and fixed in 6.3.13 with commit 25dbdfb7b71ef8601d00c6d9a2b1a96de28b30c5 Issue introduced in 5.13 with commit 5a853722eb32188647a541802d51d0db423b9baf and fixed in 6.4.4 with commit f078a65ebf930f4305e3c415a8338d22391642c9 Issue introduced in 5.13 with commit 5a853722eb32188647a541802d51d0db423b9baf and fixed in 6.5 with commit 9c632a6396505a019ea6d12b5ab45e659a542a93 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-53807 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/xilinx/clk-xlnx-clock-wizard.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/2f276dd9c0f835242836d9f6823035158ce2585c https://git.kernel.org/stable/c/b35cb0c05b8dafe23ae5e8b605a91b88bcf4aba7 https://git.kernel.org/stable/c/25dbdfb7b71ef8601d00c6d9a2b1a96de28b30c5 https://git.kernel.org/stable/c/f078a65ebf930f4305e3c415a8338d22391642c9 https://git.kernel.org/stable/c/9c632a6396505a019ea6d12b5ab45e659a542a93