Bug 2422674 (CVE-2025-68172) - CVE-2025-68172 kernel: crypto: aspeed - fix double free caused by devm
Summary: CVE-2025-68172 kernel: crypto: aspeed - fix double free caused by devm
Keywords:
Status: NEW
Alias: CVE-2025-68172
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-16 14:02 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-16 14:02:47 UTC
In the Linux kernel, the following vulnerability has been resolved:

crypto: aspeed - 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 manual clock cleanup in both aspeed_acry_probe()'s error
path and aspeed_acry_remove().


Note You need to log in before you can comment on or make changes to this bug.