---
id: CVE-2025-68754
title: |-
  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 driv…
summary: |-
  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 driv…
severity: none
published: '2026-01-05'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T19:10:00.297'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68754'
references:
  - url: 'https://git.kernel.org/stable/c/2e1c79299036614ac32b251d145fad5391f4bcab'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/384150d7a5b60c1086790a8ee07b0629f906cca2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9fed02c16488050cd4e33e045506336b216d7301'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00184
epssPercentile: 0.07474
ingestedAt: '2026-10-14T19:49:57.550Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
