CVE-2025-68754 Details
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.
A double free vulnerability has been identified in the Amlogic RTC driver of the Linux kernel. This issue arises from improper management of a clock resource obtained through the devm_clk_get_enabled() function. The devm framework is designed to automatically handle the lifecycle of such resources, freeing them when the driver is detached. However, the driver currently includes manual calls to clk_disable_unprepare() in both the error handling and removal functions, leading to a double free situation. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by removing the redundant clk_disable_unprepare() calls from the driver's probe error path and the aml_rtc_remove() function. Users should update to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2e1c79299036614ac32b251d145fad5391f4bcab | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/384150d7a5b60c1086790a8ee07b0629f906cca2 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9fed02c16488050cd4e33e045506336b216d7301 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Amlogic A4 | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 5, 2026 | New CVE Received | kernel.org |
Volerion