CVE Database›Document archive›CVE-2023-54183

CVE-2023-54183

kernel: media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · December 30, 2025

Updated · June 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()

If fwnode_graph_get_remote_endpoint() fails, 'fwnode' is known to be NULL, so fwnode_handle_put() is a no-op.

Release the reference taken from a previous fwnode_graph_get_port_parent() call instead.

Also handle fwnode_graph_get_port_parent() failures.

In order to fix these issues, add an error handling path to the function and the needed gotos.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified