CVE-2021-47071

uio_hv_generic: Fix a memory leak in error handling paths

State
Published
Severity
Not scored
Published
Mar 1, 2024
Updated
May 11, 2026
Reserved
Feb 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to before cdd91637d4ef33e2be19a8e16e72e7d00c996d76Affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to before d84b5e912212b05f6b5bde9f682046accfbe0354Affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to before 53486c467e356e06aa37047c984fccd64d78c827Affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to before 3ee098f96b8b6c1a98f7f97915f8873164e6af9dAffected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 5.4.122 through 5.4.*Not affected
  • 5.10.40 through 5.10.*Not affected
  • 5.12.7 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.