What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.37, 5.11.21, 5.12.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47043 or the next vulnerability affects your stack