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.
History

Tue, 06 Jan 2026 00:15:00 +0000


Mon, 05 Jan 2026 10:00:00 +0000

Type Values Removed Values Added
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.
Title rtc: amlogic-a4: fix double free caused by devm
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-01-05T09:32:27.788Z

Reserved: 2025-12-24T10:30:51.033Z

Link: CVE-2025-68754

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-05T10:15:56.430

Modified: 2026-01-05T10:15:56.430

Link: CVE-2025-68754

cve-icon Redhat

Severity :

Publid Date: 2026-01-05T00:00:00Z

Links: CVE-2025-68754 - Bugzilla

cve-icon OpenCVE Enrichment

No data.