CVE-2025-68754 rtc: amlogic-a4: fix double free caused by devm
A double free vulnerability in the Linux kernel's Amlogic A4 RTC driver allows local attackers to cause a system crash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-68754?
CVE-2025-68754 is an use after free vulnerability in Linux, published on 5 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-68754?
How do I fix CVE-2025-68754?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-68754 being exploited?
There is no known exploitation of CVE-2025-68754 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-68754, DEBIAN-CVE-2025-68754, GHSA-4x8g-c253-mrj2, UBUNTU-CVE-2025-68754.