In the Linux kernel, the following vulnerability has been resolved:
media: v4l2-core: Fix a potential resource leak in v4l2fwnodeparse_link()
If fwnodegraphgetremoteendpoint() fails, 'fwnode' is known to be NULL, so fwnodehandleput() is a no-op.
Release the reference taken from a previous fwnodegraphgetportparent() call instead.
Also handle fwnodegraphgetportparent() failures.
In order to fix these issues, add an error handling path to the function and the needed gotos.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54183.json",
"cna_assigner": "Linux"
}