CVE-2023-54183

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

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
11.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00219 · 11.7th percentile
Published
2025-12-30T12:08Z
EPSS history
Timeline
  • 30 DEC 12:08Z
    media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
    cvelistv5