{"id":"CVE-2025-68754","aliases":["CVE-2025-68754"],"related":[],"kind":"vulnerability","state":"published","title":"rtc: amlogic-a4: fix double free caused by devm","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nrtc: amlogic-a4: corregir doble liberación causada por devm\n\nEl reloj obtenido a través de devm_clk_get_enabled() es gestionado automáticamente por devres y será deshabilitado y liberado al desvincular el controlador. Llamar manualmente a clk_disable_unprepare() en la ruta de error y en la función de eliminación causa doble liberación.\n\nEliminar las llamadas redundantes a clk_disable_unprepare() de la ruta de error de la sonda y de aml_rtc_remove(), permitiendo que el framework devm gestione automáticamente el ciclo de vida del reloj.","source":"nvd"}],"published":"2026-01-05T09:32:27.788Z","modified":"2026-10-14T19:10:00.297Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c89ac9182ee297597f1c6971045382bae19c3f9d","fixed":"9fed02c16488050cd4e33e045506336b216d7301","status":"affected"},{"type":"git","introduced":"c89ac9182ee297597f1c6971045382bae19c3f9d","fixed":"2e1c79299036614ac32b251d145fad5391f4bcab","status":"affected"},{"type":"git","introduced":"c89ac9182ee297597f1c6971045382bae19c3f9d","fixed":"384150d7a5b60c1086790a8ee07b0629f906cca2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9fed02c16488050cd4e33e045506336b216d7301","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e1c79299036614ac32b251d145fad5391f4bcab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/384150d7a5b60c1086790a8ee07b0629f906cca2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68754","url":"https://www.cve.org/CVERecord?id=CVE-2025-68754","licence":"CVE Terms of Use","modified":"2026-05-11T21:52:42.282Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68754","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68754","licence":"Public domain","modified":"2026-10-14T19:10:00.297Z"}],"updatedAt":"2026-11-25T22:59:10.264Z","epss":{"score":0.00184,"percentile":0.08388,"date":"2026-12-01T12:00:22.000Z"}}