What’s Vulnerable › Vulnerabilities
CVE-2025-68754: rtc: amlogic-a4: fix double free caused by devm
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-05 · updated 2026-10-14
Description
In the Linux kernel, the following vulnerability has been resolved: rtc: amlogic-a4: fix double free caused by devm The clock obtained via devm_clk_get_enabled() is automatically managed by devres and will be disabled and freed on driver detach. Manually calling clk_disable_unprepare() in error path and remove function causes double free. Remove the redundant clk_disable_unprepare() calls from the probe error path and aml_rtc_remove(), allowing the devm framework to automatically manage the clock lifecycle.
Affected products
- Linux kernel: 6.13 — fixed in 6.19
How to fix
Upgrade to a fixed version: Linux kernel 6.19. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2e1c79299036614ac32b251d145fad5391f4bcab
- https://git.kernel.org/stable/c/384150d7a5b60c1086790a8ee07b0629f906cca2
- https://git.kernel.org/stable/c/9fed02c16488050cd4e33e045506336b216d7301
Get alerted when CVE-2025-68754 or the next vulnerability affects your stack