CVE-2025-68754

Source
https://cve.org/CVERecord?id=CVE-2025-68754
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68754.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68754
Downstream
Related
Published
2026-01-05T09:32:27Z
Modified
2026-08-12T03:51:24Z
Summary
rtc: amlogic-a4: fix double free caused by devm
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68754.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c89ac9182ee297597f1c6971045382bae19c3f9d
Fixed
9fed02c16488050cd4e33e045506336b216d7301
Fixed
2e1c79299036614ac32b251d145fad5391f4bcab
Fixed
384150d7a5b60c1086790a8ee07b0629f906cca2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68754.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.13
Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68754.json"