CVE-2021-47043
JSON

5.5medium

media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: media: venus: core: Fix some resource leaks in the error path of 'venus_probe()' If an error occurs after a successful 'of_icc_get()' call, it must be undone. Use 'devm_of_icc_get()' instead of 'of_icc_get()' to avoid the leak. Update the remove function accordingly and axe the now unneeded 'icc_put()' calls.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 00b68a7478343afdf83f30c43e64db5296057030, from 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 940d01eceb3a7866fbfca136a55a5625fc75a565, from 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 711acdf0228dc71601247f28b56f13e850e395c8, from 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 5a465c5391a856a0c1e9554964d660676c35d1b2, 5.5
Not affected: before 5.5, from 5.10.37 up to 5.10.*, from 5.11.21 up to 5.11.*, from 5.12.4 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 5.5 before 5.10.37, from 5.11 before 5.11.21, from 5.12 before 5.12.4NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: media: venus: core: Fix some resource leaks in the error path of 'venus_probe()' If an error occurs after a successful 'of_icc_get()' call, it must be undone. Use 'devm_of_icc_get()' instead of 'of_icc_get()' to avoid the leak. Update the remove function accordingly and axe the now unneeded 'icc_put()' calls.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: venus: core: corrige algunas fugas de recursos en la ruta de error de 'venus_probe()' Si se produce un error después de una llamada exitosa a 'of_icc_get()', se debe deshacer . Utilice 'devm_of_icc_get()' en lugar de 'of_icc_get()' para evitar la fuga. Actualice la función de eliminación en consecuencia y elimine las llamadas 'icc_put()' ahora innecesarias.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47043 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47043 changed 2026-06-17Public domain