CVE-2023-53725
clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
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".
INFO
Published Date :
Oct. 22, 2025, 2:15 p.m.
Last Modified :
Oct. 22, 2025, 9:12 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Use devm_of_iomap instead of of_iomap.
- Add clk_put to clean up clk_ce and clk_cs.
- Apply the fix to the Linux kernel timer driver.
- Update the Linux kernel to include the fix.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53725.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53725 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53725
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53725 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53725 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 22, 2025
Action Type Old Value New Value Added 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". Added Reference https://git.kernel.org/stable/c/289e2054eeb63c9e133960731c342eeffad218d3 Added Reference https://git.kernel.org/stable/c/54cc10a0f4b01b522e9519014200f1b33bf7e4aa Added Reference https://git.kernel.org/stable/c/67d7eebbc424935dec61fb352d1ccae5d16cf429 Added Reference https://git.kernel.org/stable/c/8b5bf64c89c7100c921bd807ba39b2eb003061ab Added Reference https://git.kernel.org/stable/c/919dd531ebb7514f205ae7aab87994337ebce1f6 Added Reference https://git.kernel.org/stable/c/99744200f28b2cf5f50767447e51b4b4a977d145 Added Reference https://git.kernel.org/stable/c/e0a9cc90ea44a50d76a84f9f9bf1703d31fe45e9 Added Reference https://git.kernel.org/stable/c/ebdff0986513a29be242aace0ef89b6c105b0bf0