Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • cdfa835c6e5e87d145f9f632b58843de97509f2b to < cdd91637d4ef33e2be19a8e16e72e7d00c996d76affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to < d84b5e912212b05f6b5bde9f682046accfbe0354affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to < 53486c467e356e06aa37047c984fccd64d78c827affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to < 3ee098f96b8b6c1a98f7f97915f8873164e6af9daffected

Linux Linux

Default version status: affected

  • 4.20affected
  • 0 to < 4.20unaffected
  • 5.4.122 to ≤ 5.4.*unaffected
  • 5.10.40 to ≤ 5.10.*unaffected
  • 5.12.7 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References