Home

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.

PUBLISHED Reserved 2025-12-24 | Published 2026-01-05 | Updated 2026-02-09 | Assigner Linux

Product status

Default status
unaffected

c89ac9182ee297597f1c6971045382bae19c3f9d (git) before 9fed02c16488050cd4e33e045506336b216d7301
affected

c89ac9182ee297597f1c6971045382bae19c3f9d (git) before 2e1c79299036614ac32b251d145fad5391f4bcab
affected

c89ac9182ee297597f1c6971045382bae19c3f9d (git) before 384150d7a5b60c1086790a8ee07b0629f906cca2
affected

Default status
affected

6.13
affected

Any version before 6.13
unaffected

6.17.13 (semver)
unaffected

6.18.2 (semver)
unaffected

6.19 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/9fed02c16488050cd4e33e045506336b216d7301

git.kernel.org/...c/2e1c79299036614ac32b251d145fad5391f4bcab

git.kernel.org/...c/384150d7a5b60c1086790a8ee07b0629f906cca2

cve.org (CVE-2025-68754)

nvd.nist.gov (CVE-2025-68754)

Download JSON