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 928E326ED57 for ; Wed, 22 Oct 2025 13:26:50 +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=1761139610; cv=none; b=ChwRxT5DoCV+ywmCInGLqLgnAgUHzL3zDTJbFORivM9s58GvWkiowWQykYZBGv9aVhOgjYz9ZlSECZWaeQqSEwGONEAjiwP6reUq4ukkfmchS0aWNThjby1jH2cNc9Un2uc93+ST46w89sPzzPD40X6bPoTK4x49eQW7YFHGcZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139610; c=relaxed/simple; bh=Bagc7Lcy/Dp/xV6BeMd4rcDLpTohzPs6I75VA2Y2Kyc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Etyo+8Q3OX5pqaPnSpNrHEvAyx/f9xNjW2+TeX7vZ3IK95BQhFOY2N654XXn5EWc6uHWXPbeXXeiQ6JhMZXKy5NXIFBjau400SsSQZWUhqm5sIVU0oWbz4LQrfccwnzrk2mT21GS4INORf+wPkRVk6CCnBTlrbNTtZNw0cwFg7s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uBw5UJIz; 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="uBw5UJIz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22969C4CEE7; Wed, 22 Oct 2025 13:26:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139610; bh=Bagc7Lcy/Dp/xV6BeMd4rcDLpTohzPs6I75VA2Y2Kyc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uBw5UJIzoFq4ZVxHUog8deLmvTM/EFCpBvBwrD1LM5jfAd0yP0Yrpa6fHyDEAm7yJ YYA6dW0FAMioq2/hrE7+9pX/hVyBSviwLbEYAx3iD5eWmIjKNQ1+hKX+QJ+ZvwEi3J Gnp71B0jFDuOcJJXRMiqqk/kjmUCTlxCyxbxEeY0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53725: clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe Date: Wed, 22 Oct 2025 15:25:04 +0200 Message-ID: <2025102215-CVE-2023-53725-0343@gregkh> X-Mailer: git-send-email 2.51.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=3510; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2TpNCP44Pq4XbCkenuo5zg7vauCPWuYQCMJCEq89Mlk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv0v+P/mHVdJ5pe8Wp/uoz+VDWzbrO8G3HvNvlkq3 n3jxjndHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRq/YMC+adPqHZOrU8Tr/1 y6w3285k/bzsz8UwV2qv+rQY1+x+hckFV+ZEbZ+2S+fDDgA= 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: clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe Smatch reports: drivers/clocksource/timer-cadence-ttc.c:529 ttc_timer_probe() warn: 'timer_baseaddr' from of_iomap() not released on lines: 498,508,516. timer_baseaddr may have the problem of not being released after use, I replaced it with the devm_of_iomap() function and added the clk_put() function to cleanup the "clk_ce" and "clk_cs". The Linux kernel CVE team has assigned CVE-2023-53725 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 4.19.291 with commit e0a9cc90ea44a50d76a84f9f9bf1703d31fe45e9 Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 5.4.251 with commit 54cc10a0f4b01b522e9519014200f1b33bf7e4aa Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 5.10.188 with commit ebdff0986513a29be242aace0ef89b6c105b0bf0 Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 5.15.121 with commit 289e2054eeb63c9e133960731c342eeffad218d3 Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 6.1.39 with commit 919dd531ebb7514f205ae7aab87994337ebce1f6 Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 6.3.13 with commit 67d7eebbc424935dec61fb352d1ccae5d16cf429 Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 6.4.4 with commit 99744200f28b2cf5f50767447e51b4b4a977d145 Issue introduced in 3.10 with commit e932900a3279b5dbb6d8f43c7b369003620e137c and fixed in 6.5 with commit 8b5bf64c89c7100c921bd807ba39b2eb003061ab 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-53725 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/clocksource/timer-cadence-ttc.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/e0a9cc90ea44a50d76a84f9f9bf1703d31fe45e9 https://git.kernel.org/stable/c/54cc10a0f4b01b522e9519014200f1b33bf7e4aa https://git.kernel.org/stable/c/ebdff0986513a29be242aace0ef89b6c105b0bf0 https://git.kernel.org/stable/c/289e2054eeb63c9e133960731c342eeffad218d3 https://git.kernel.org/stable/c/919dd531ebb7514f205ae7aab87994337ebce1f6 https://git.kernel.org/stable/c/67d7eebbc424935dec61fb352d1ccae5d16cf429 https://git.kernel.org/stable/c/99744200f28b2cf5f50767447e51b4b4a977d145 https://git.kernel.org/stable/c/8b5bf64c89c7100c921bd807ba39b2eb003061ab