CVE-2022-49752

medium

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().

References

https://git.kernel.org/stable/c/e75485fc589ec729cc182aa9b41dfb6c15ae6f6e

https://git.kernel.org/stable/c/7701a4bd45c11f9a289d8f262fad05705a012339

https://git.kernel.org/stable/c/39af728649b05e88a2b40e714feeee6451c3f18e

Details

Source: Mitre, NVD

Published: 2025-03-27

Updated: 2025-04-14

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00016