Description (CNA)
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.]
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before c9b5238d173ee9b94dcaa2b34244ea89c8024feb; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before ccd8d1d80afab8b492a583ae81bfd295835bab2f; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before d92dc4692834e04bc0ef1d0908589852050d1a66; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before ef609b3ce456f021320fee2fb7e45094a3ccf232; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before 578c4bfa28bf21458ecdde2fd3fc429475f34c10; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before 3ced388b7908270529e5aa6d221840114b6c33bc; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before 881aafb139520570fd3390bf9938d7098b7fbb99; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before a6e86efd7f85e519bf48417f41923f8bd51f1597 |
| Linux / Linux | affected 4.13; unaffected 0 before 4.13; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c9b5238d173ee9b94dcaa2b34244ea89c8024feb
- https://git.kernel.org/stable/c/ccd8d1d80afab8b492a583ae81bfd295835bab2f
- https://git.kernel.org/stable/c/d92dc4692834e04bc0ef1d0908589852050d1a66
- https://git.kernel.org/stable/c/ef609b3ce456f021320fee2fb7e45094a3ccf232
- https://git.kernel.org/stable/c/578c4bfa28bf21458ecdde2fd3fc429475f34c10
- https://git.kernel.org/stable/c/3ced388b7908270529e5aa6d221840114b6c33bc
- https://git.kernel.org/stable/c/881aafb139520570fd3390bf9938d7098b7fbb99
- https://git.kernel.org/stable/c/a6e86efd7f85e519bf48417f41923f8bd51f1597