What’s Vulnerable › Vulnerabilities

CVE-2021-47070: uio_hv_generic: Fix another memory leak in error handling paths

Description

In the Linux kernel, the following vulnerability has been resolved: uio_hv_generic: Fix another memory leak in error handling paths Memory allocated by 'vmbus_alloc_ring()' at the beginning of the probe function is never freed in the error handling path. Add the missing 'vmbus_free_ring()' call. Note that it is already freed in the .remove function.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.12.7. Check the vendor advisory for mitigations.

References

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