Bug 2427114 (CVE-2025-68754) - CVE-2025-68754 kernel: rtc: amlogic-a4: fix double free caused by devm
Summary: CVE-2025-68754 kernel: rtc: amlogic-a4: fix double free caused by devm
Keywords:
Status: NEW
Alias: CVE-2025-68754
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-05 10:02 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-05 10:02:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.