CVE-2026-89872 PUBLISHED

media: v4l2-fwnode: Fix fwnode leak in v4l2_fwnode_parse_link

Assigner: Linux
Reserved: 11.09.2026 Published: 16.09.2026 Updated: 16.09.2026

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

media: v4l2-fwnode: Fix fwnode leak in v4l2_fwnode_parse_link

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

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

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

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to c9b5238d173ee9b94dcaa2b34244ea89c8024feb (excl.)
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to ccd8d1d80afab8b492a583ae81bfd295835bab2f (excl.)
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to d92dc4692834e04bc0ef1d0908589852050d1a66 (excl.)
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to ef609b3ce456f021320fee2fb7e45094a3ccf232 (excl.)
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to 578c4bfa28bf21458ecdde2fd3fc429475f34c10 (excl.)
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to 3ced388b7908270529e5aa6d221840114b6c33bc (excl.)
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to 881aafb139520570fd3390bf9938d7098b7fbb99 (excl.)
  • affected from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 to a6e86efd7f85e519bf48417f41923f8bd51f1597 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.13 is affected
  • unaffected from 0 to 4.13 (excl.)
  • unaffected from 5.10.270 to 5.10.* (incl.)
  • unaffected from 5.15.221 to 5.15.* (incl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.51 to 6.18.* (incl.)
  • unaffected from 7.2.5 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References