What’s Vulnerable › Vulnerabilities

CVE-2022-49677: ARM: cns3xxx: Fix refcount leak in cns3xxx_init

Description

In the Linux kernel, the following vulnerability has been resolved: ARM: cns3xxx: Fix refcount leak in cns3xxx_init of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.286, 4.19.250, 4.9.321, 5.10.127. Check the vendor advisory for mitigations.

References

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