{"id":"CVE-2025-68172","aliases":["CVE-2025-68172"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: aspeed - fix double free caused by devm","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: aspeed - 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 manual clock cleanup in both aspeed_acry_probe()'s error\npath and aspeed_acry_remove().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: aspeed - 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 manual clock cleanup in both aspeed_acry_probe()'s error\npath and aspeed_acry_remove().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: aspeed - corrección de 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 desasociar 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 la limpieza manual del reloj tanto en la ruta de error de aspeed_acry_probe() como en aspeed_acry_remove().","source":"nvd"}],"published":"2025-12-16T13:42:52.141Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2f1cf4e50c956f882c9fc209c7cded832b67b8a3","fixed":"0dd6474ced33489076e6c0f3fe5077bf12e85b28","status":"affected"},{"type":"git","introduced":"2f1cf4e50c956f882c9fc209c7cded832b67b8a3","fixed":"29d0504077044a7e1ffbd09a6118018d5954a6e5","status":"affected"},{"type":"git","introduced":"2f1cf4e50c956f882c9fc209c7cded832b67b8a3","fixed":"e8407dfd267018f4647ffb061a9bd4a6d7ebacc6","status":"affected"},{"type":"git","introduced":"2f1cf4e50c956f882c9fc209c7cded832b67b8a3","fixed":"3c9bf72cc1ced1297b235f9422d62b613a3fdae9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","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/0dd6474ced33489076e6c0f3fe5077bf12e85b28","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29d0504077044a7e1ffbd09a6118018d5954a6e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8407dfd267018f4647ffb061a9bd4a6d7ebacc6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c9bf72cc1ced1297b235f9422d62b613a3fdae9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68172","url":"https://www.cve.org/CVERecord?id=CVE-2025-68172","licence":"CVE Terms of Use","modified":"2026-05-11T21:48:03.150Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68172","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68172","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.477Z","epss":{"score":0.00216,"percentile":0.12725,"date":"2026-12-01T12:00:22.000Z"}}