CVE-2021-47070
JSON

5.5medium

uio_hv_generic: Fix another memory leak in error handling paths

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom cdfa835c6e5e87d145f9f632b58843de97509f2b before 261bbd90cc53d2835343f056770156cf1e82cf03, from cdfa835c6e5e87d145f9f632b58843de97509f2b before 5f59240cf25b2f7a0fdffc2701482a70310fec07, from cdfa835c6e5e87d145f9f632b58843de97509f2b before 0b0226be3a52dadd965644bc52a807961c2c26df, 4.20
Not affected: before 4.20, from 5.10.241 up to 5.10.*, from 5.12.7 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 4.20 before 5.12.7, 5.13NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: uio_hv_generic: soluciona otra pérdida de memoria en las rutas de manejo de errores. La memoria asignada por 'vmbus_alloc_ring()' al comienzo de la función de sondeo nunca se libera en la ruta de manejo de errores. Agregue la llamada 'vmbus_free_ring()' que falta. Tenga en cuenta que ya está liberado en la función .remove.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47070 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47070 changed 2026-06-17Public domain