media: v4l2-fwnode: Fix fwnode leak in v4l2_fwnode_parse_link
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.]
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in c9b5238d173ee9b94dcaa2b34244ea89c8024feb; From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in ccd8d1d80afab8b492a583ae81bfd295835bab2f; From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in d92dc4692834e04bc0ef1d0908589852050d1a66; From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in ef609b3ce456f021320fee2fb7e45094a3ccf232; From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in 578c4bfa28bf21458ecdde2fd3fc429475f34c10; From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in 3ced388b7908270529e5aa6d221840114b6c33bc; From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in 881aafb139520570fd3390bf9938d7098b7fbb99; From ca50c197bd9610ea984cfc0dc6855f183cbb46f8 · fixed in a6e86efd7f85e519bf48417f41923f8bd51f1597
- Linux Linux
4.13
- KernelLinux
From 4.13.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5
References 8
git.kernel.org
- stable/c/c9b5238d173ee9b94dcaa2b34244ea89c8024feb
- stable/c/ccd8d1d80afab8b492a583ae81bfd295835bab2f
- stable/c/d92dc4692834e04bc0ef1d0908589852050d1a66
- stable/c/ef609b3ce456f021320fee2fb7e45094a3ccf232
- stable/c/578c4bfa28bf21458ecdde2fd3fc429475f34c10
- stable/c/3ced388b7908270529e5aa6d221840114b6c33bc
- stable/c/881aafb139520570fd3390bf9938d7098b7fbb99
- stable/c/a6e86efd7f85e519bf48417f41923f8bd51f1597