Bug 2355453 (CVE-2022-49752) - CVE-2022-49752 kernel: device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()
Summary: CVE-2022-49752 kernel: device property: fix of node refcount leak in fwnode_g...
Keywords:
Status: NEW
Alias: CVE-2022-49752
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-27 17:02 UTC by OSIDB Bzimport
Modified: 2025-03-28 00:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-27 17:02:19 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.