CVE-2022-49752

device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()

Medium · published March 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
10.0
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00205 · 10.0th percentile
Published
2025-03-27T16:43Z
EPSS history
Timeline
  • 27 MAR 16:43Z
    device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()
    cvelistv5