What’s Vulnerable › Vulnerabilities

CVE-2022-49668: PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events

Description

In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. This function only calls of_node_put() in normal path, missing it in error paths. Add missing of_node_put() to avoid refcount leak.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.129, 5.15.53, 5.18.10, 5.4.204. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49668 or the next vulnerability affects your stack