CVE-2022-49752

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux91b31ca76300fd36d5049c5879e68dfb3edc7a5c < e0472947bead3af94cc968ce35fc0414803a2f65affected
LinuxLinuxb5b41ab6b0c1bb70fe37a0d193006c969e3b5909 < 7701a4bd45c11f9a289d8f262fad05705a012339affected
LinuxLinuxb5b41ab6b0c1bb70fe37a0d193006c969e3b5909 < e75485fc589ec729cc182aa9b41dfb6c15ae6f6eaffected
LinuxLinuxb5b41ab6b0c1bb70fe37a0d193006c969e3b5909 < 39af728649b05e88a2b40e714feeee6451c3f18eaffected
LinuxLinux5.15affected
LinuxLinux0 < 5.15unaffected
LinuxLinux5.15.91 <= 5.15.*unaffected
LinuxLinux6.1.9 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References