CVE-2021-47070

uio_hv_generic: Fix another memory leak in error handling paths

State
Published
Severity
5.5 Medium
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 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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to before 261bbd90cc53d2835343f056770156cf1e82cf03Affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to before 5f59240cf25b2f7a0fdffc2701482a70310fec07Affected
  • cdfa835c6e5e87d145f9f632b58843de97509f2b to before 0b0226be3a52dadd965644bc52a807961c2c26dfAffected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 5.10.241 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.