CVE-2026-89872 · UNKNOWN
Summary: media: v4l2-fwnode: Fix fwnode leak in v4l2_fwnode_parse_link
Details
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 packages
- GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [ca50c197bd9610ea984cfc0dc6855f183cbb46f8 – c9b5238d173ee9b94dcaa2b34244ea89c8024feb]
- Linux Kernel [4.13.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.51] [6.19.0 – 7.2.5]
References
- https://git.kernel.org/stable/c/3ced388b7908270529e5aa6d221840114b6c33bc
- https://git.kernel.org/stable/c/578c4bfa28bf21458ecdde2fd3fc429475f34c10
- https://git.kernel.org/stable/c/881aafb139520570fd3390bf9938d7098b7fbb99
- https://git.kernel.org/stable/c/a6e86efd7f85e519bf48417f41923f8bd51f1597
- 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://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89872.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-89872
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git