{"id":"CVE-2025-68754","summary":"rtc: amlogic-a4: fix double free caused by devm","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: amlogic-a4: fix double free caused by devm\n\nThe clock obtained via devm_clk_get_enabled() is automatically managed\nby devres and will be disabled and freed on driver detach. Manually\ncalling clk_disable_unprepare() in error path and remove function\ncauses double free.\n\nRemove the redundant clk_disable_unprepare() calls from the probe\nerror path and aml_rtc_remove(), allowing the devm framework to\nautomatically manage the clock lifecycle.","modified":"2026-04-02T13:03:45.404453Z","published":"2026-01-05T09:32:27.788Z","related":["openSUSE-SU-2026:10039-1","openSUSE-SU-2026:10301-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68754.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2e1c79299036614ac32b251d145fad5391f4bcab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/384150d7a5b60c1086790a8ee07b0629f906cca2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fed02c16488050cd4e33e045506336b216d7301"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68754.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68754"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}