Back

MEDIUM

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

Published Mar 27, 2025

Description

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

Remediation

No remediation recorded yet.

Weaknesses (1)

References (10)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Mar 27, 2025
Updated May 11, 2026
Reserved Mar 27, 2025
CISA Vulnrichment
Updated Oct 1, 2025
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Mar 27, 2025
ENISA EUVD
Assigner Linux
Published Mar 27, 2025
Updated May 11, 2026
Exploited since n/a
EUVD-2022-55171