CVE-2026-89872: media: v4l2-fwnode: Fix fwnode leak in v4l2_fwnode_parse_link

Published Sep 16, 2026
·
Updated

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

media: v4l2-fwnode: Fix fwnode leak in v4l2fwnodeparselink

In v4l2fwnodeparselink(), the remote endpoint fwnode reference is acquired using fwnodegraphgetremoteendpoint(). This reference is properly released in the error paths, but it is leaked on the success path.

Add the missing fwnodehandleput() before returning 0 to prevent the reference leak.

[Sakari Ailus: Fix subject prefix and coding style a little.]

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

What condition triggers the leak?

The leak occurs when v4l2_fwnode_parse_link() successfully parses a link after acquiring a remote endpoint fwnode reference with fwnode_graph_get_remote_endpoint(). Error paths already release the reference; the missing release was only on the success path.

2

How can the issue be corrected?

The fix adds fwnode_handle_put() before v4l2_fwnode_parse_link() returns success, releasing the remote endpoint fwnode reference. The provided stable-kernel references identify commits containing the correction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203