rtc: amlogic-a4: fix double free caused by devm
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2e1c79299036614ac32b251d145fad5391f4bcab, Kernel 384150d7a5b60c1086790a8ee07b0629f906cca2 and Kernel 9fed02c16488050cd4e33e045506336b216d7301.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.13, >=c89ac9182ee297597f1c6971045382bae19c3f9d <2e1c79299036614ac32b251d145fad5391f4bcab, >=c89ac9182ee297597f1c6971045382bae19c3f9d <384150d7a5b60c1086790a8ee07b0629f906cca2, >=c89ac9182ee297597f1c6971045382bae19c3f9d <9fed02c16488050cd4e33e045506336b216d7301 | 2e1c79299036614ac32b251d145fad5391f4bcab, 384150d7a5b60c1086790a8ee07b0629f906cca2, 9fed02c16488050cd4e33e045506336b216d7301 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket