Not scored
clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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".
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e932900a3279b5dbb6d8f43c7b369003620e137c before e0a9cc90ea44a50d76a84f9f9bf1703d31fe45e9, from e932900a3279b5dbb6d8f43c7b369003620e137c before 54cc10a0f4b01b522e9519014200f1b33bf7e4aa, from e932900a3279b5dbb6d8f43c7b369003620e137c before ebdff0986513a29be242aace0ef89b6c105b0bf0, from e932900a3279b5dbb6d8f43c7b369003620e137c before 289e2054eeb63c9e133960731c342eeffad218d3, from e932900a3279b5dbb6d8f43c7b369003620e137c before 919dd531ebb7514f205ae7aab87994337ebce1f6, from e932900a3279b5dbb6d8f43c7b369003620e137c before 67d7eebbc424935dec61fb352d1ccae5d16cf429, from e932900a3279b5dbb6d8f43c7b369003620e137c before 99744200f28b2cf5f50767447e51b4b4a977d145, from e932900a3279b5dbb6d8f43c7b369003620e137c before 8b5bf64c89c7100c921bd807ba39b2eb003061ab and 1 more Not affected: before 3.10, from 4.19.291 up to 4.19.*, from 5.4.251 up to 5.4.*, from 5.10.188 up to 5.10.*, from 5.15.121 up to 5.15.*, from 6.1.39 up to 6.1.* | CVE List |
What each source says
CVE List
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".
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: clocksource/drivers/cadence-ttc: Corrección de fuga de memoria en ttc_timer_probe Smatch informa: drivers/clocksource/timer-cadence-ttc.c:529 ttc_timer_probe() advertencia: ’timer_baseaddr’ de of_iomap() no liberado en las líneas: 498,508,516. timer_baseaddr puede tener el problema de no ser liberado después de su uso, Lo reemplacé con la función devm_of_iomap() y agregué la función clk_put() para limpiar ’clk_ce’ y ’clk_cs’.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53725 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53725 changed 2026-10-28 | Public domain |