CVE-2025-68754: rtc: amlogic-a4: fix double free caused by devm

Published Jan 5, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

rtc: amlogic-a4: fix double free caused by devm

The clock obtained via devmclkgetenabled() is automatically managed by devres and will be disabled and freed on driver detach. Manually calling clkdisableunprepare() in error path and remove function causes double free.

Remove the redundant clkdisableunprepare() calls from the probe error path and amlrtcremove(), allowing the devm framework to automatically manage the clock lifecycle.

Affected Software

1 affected component
linux/kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Remove the redundant clk_disable_unprepare() calls from the probe error path and aml_rtc_remove(); devm_clk_get_enabled() automatically manages the clock lifecycle and disables and frees it on driver detach.

Event History

Jan 5, 2026
CVE Published
via MITRE·09:32 AM
Data Sourced
via MITRE·09:32 AM
Description
Data Sourced
via NVD·10:15 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-68754?

CVE-2025-68754 is classified as a medium severity vulnerability due to the potential for double free leading to exploitability in the Linux kernel.

2

How do I fix CVE-2025-68754?

To fix CVE-2025-68754, update the Linux kernel to the latest version where the vulnerability is resolved.

3

What systems are affected by CVE-2025-68754?

CVE-2025-68754 affects specific versions of the Linux kernel, particularly those that utilize the amlogic-a4 RTC driver.

4

Is CVE-2025-68754 a network security issue?

CVE-2025-68754 is not classified as a network security issue, but rather a local privilege escalation vulnerability in the kernel.

5

Can CVE-2025-68754 be exploited remotely?

CVE-2025-68754 requires local access to the system to exploit, making remote exploitation unlikely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203