What’s Vulnerable › Vulnerabilities

CVE-2022-49752: device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()

Description

In the Linux kernel, the following vulnerability has been resolved: device property: fix of node refcount leak in fwnode_graph_get_next_endpoint() The 'parent' returned by fwnode_graph_get_port_parent() with refcount incremented when 'prev' is not NULL, it needs be put when finish using it. Because the parent is const, introduce a new variable to store the returned fwnode, then put it before returning from fwnode_graph_get_next_endpoint().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.91, 6.1.9. Check the vendor advisory for mitigations.

References

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