← CVE Intelligence

CVE-2021-47071

uio_hv_generic: Fix a memory leak in error handling paths PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected cdfa835c6e5e87d145f9f632b58843de97509f2b before cdd91637d4ef33e2be19a8e16e72e7d00c996d76; affected cdfa835c6e5e87d145f9f632b58843de97509f2b before d84b5e912212b05f6b5bde9f682046accfbe0354; affected cdfa835c6e5e87d145f9f632b58843de97509f2b before 53486c467e356e06aa37047c984fccd64d78c827; affected cdfa835c6e5e87d145f9f632b58843de97509f2b before 3ee098f96b8b6c1a98f7f97915f8873164e6af9d
Linux / Linuxaffected 4.20; unaffected 0 before 4.20; unaffected 5.4.122 through 5.4.*; unaffected 5.10.40 through 5.10.*; unaffected 5.12.7 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.