media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2342942331e1f034ff58f293e10d0d9b7581601f, Kernel 25afb3e03bf8ab02567af4b6ffbfd6250a91a9f8, Kernel 4bc5ffaf8ac4f3e7a1fcd10a0a0e7b022b694877 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link() If fwnode_graph_get_remote_endpoint() fails, 'fwnode' is known to be NULL, so fwnode_handle_put() is a no-op. Release the reference taken from a previous fwnode_graph_get_port_parent() call instead. Also handle fwnode_graph_get_port_parent() failures. In order to fix these issues, add an error handling path to the function and the needed gotos.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.13, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <2342942331e1f034ff58f293e10d0d9b7581601f, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <25afb3e03bf8ab02567af4b6ffbfd6250a91a9f8, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <4bc5ffaf8ac4f3e7a1fcd10a0a0e7b022b694877, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <caf058833b6f3fe7beabf738110f79bb987c8fff, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <d7b13edd4cb4bfa335b6008ab867ac28582d3e5c, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <d8a8f75fce049bdb3144b607deefe51e996b9660, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <e8a1cd87bb9fa3149ee112ecb8058908dc9b520e, >=ca50c197bd9610ea984cfc0dc6855f183cbb46f8 <ed1696f7f92e8404940d51dec80a123aa18163a8 | 2342942331e1f034ff58f293e10d0d9b7581601f, 25afb3e03bf8ab02567af4b6ffbfd6250a91a9f8, 4bc5ffaf8ac4f3e7a1fcd10a0a0e7b022b694877, caf058833b6f3fe7beabf738110f79bb987c8fff, d7b13edd4cb4bfa335b6008ab867ac28582d3e5c, d8a8f75fce049bdb3144b607deefe51e996b9660, e8a1cd87bb9fa3149ee112ecb8058908dc9b520e, ed1696f7f92e8404940d51dec80a123aa18163a8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket