What’s Vulnerable › Vulnerabilities

CVE-2021-47071: uio_hv_generic: Fix a memory leak in error handling paths

Description

In the Linux kernel, the following vulnerability has been resolved: uio_hv_generic: Fix a memory leak in error handling paths If 'vmbus_establish_gpadl()' fails, the (recv|send)_gpadl will not be updated and 'hv_uio_cleanup()' in the error handling path will not be able to free the corresponding buffer. In such a case, we need to free the buffer explicitly.

Affected products

How to fix

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

References

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