What’s Vulnerable › Vulnerabilities

CVE-2023-53674: clk: Fix memory leak in devm_clk_notifier_register()

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.121, 6.1.39, 6.3.13, 6.4.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53674 or the next vulnerability affects your stack