clk: Fix memory leak in devm_clk_notifier_register()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 49451db71b746df990888068961f1033f7c9b734, Kernel 7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff, Kernel a326cf0107b197e649bbaa2a2b1355894826ce32 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: clk: Fix memory leak in devm_clk_notifier_register() devm_clk_notifier_register() allocates a devres resource for clk notifier but didn't register that to the device, so the notifier didn't get unregistered on device detach and the allocated resource was leaked. Fix the issue by registering the resource through devres_add(). This issue was found with kmemleak on a Chromebook.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.11, >=6d30d50d037dfa092f9d5d1fffa348ab4abb7163 <49451db71b746df990888068961f1033f7c9b734, >=6d30d50d037dfa092f9d5d1fffa348ab4abb7163 <7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff, >=6d30d50d037dfa092f9d5d1fffa348ab4abb7163 <a326cf0107b197e649bbaa2a2b1355894826ce32, >=6d30d50d037dfa092f9d5d1fffa348ab4abb7163 <cb1b04fd4283fc8f9acefe0ddc61ba072ed44877, >=6d30d50d037dfa092f9d5d1fffa348ab4abb7163 <efbbda79b2881a04dcd0e8f28634933d79e17e49 | 49451db71b746df990888068961f1033f7c9b734, 7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff, a326cf0107b197e649bbaa2a2b1355894826ce32, cb1b04fd4283fc8f9acefe0ddc61ba072ed44877, efbbda79b2881a04dcd0e8f28634933d79e17e49 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket