media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link() (Linux Linux)

CVE-2023-54183
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 < 2342942331e1f034ff58f293e10d0d9b7581601f ; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 < 4bc5ffaf8ac4f3e7a1fcd10a0a0e7b022b694877 ; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 < d8a8f75fce049bdb3144b607deefe51e996b9660 ; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 < caf058833b6f3fe7beabf738110f79bb987c8fff ; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 < 25afb3e03bf8ab02567af4b6ffbfd6250a91a9f8 ; affected ca50c197bd9610ea984cfc0dc6855f183cbb46f8 < ed1696f7f92e8404940d51dec80a123aa18163a8
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 4.19.295 ≤ 4.19.* ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.195 ≤ 5.10.* ; unaffected 5.15.132 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD