CVE-2021-47070

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*

History

19 Mar 2025, 16:01

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df - () https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df - Patch
References () https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07 - () https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07 - Patch
CWE CWE-401
First Time Linux
Linux linux Kernel

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df - () https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df -
References () https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07 - () https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07 -

04 Nov 2024, 19:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
Summary
  • (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.

01 Mar 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-01 22:15

Updated : 2025-03-19 16:01


NVD link : CVE-2021-47070

Mitre link : CVE-2021-47070

CVE.ORG link : CVE-2021-47070


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime