← CVE Intelligence

CVE-2021-47043

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 00b68a7478343afdf83f30c43e64db5296057030; affected 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 940d01eceb3a7866fbfca136a55a5625fc75a565; affected 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 711acdf0228dc71601247f28b56f13e850e395c8; affected 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a before 5a465c5391a856a0c1e9554964d660676c35d1b2
Linux / Linuxaffected 5.5; unaffected 0 before 5.5; unaffected 5.10.37 through 5.10.*; unaffected 5.11.21 through 5.11.*; unaffected 5.12.4 through 5.12.*; unaffected 5.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.