5.5medium
uio_hv_generic: Fix a memory leak in error handling paths
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% 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 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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cdfa835c6e5e87d145f9f632b58843de97509f2b before cdd91637d4ef33e2be19a8e16e72e7d00c996d76, from cdfa835c6e5e87d145f9f632b58843de97509f2b before d84b5e912212b05f6b5bde9f682046accfbe0354, from cdfa835c6e5e87d145f9f632b58843de97509f2b before 53486c467e356e06aa37047c984fccd64d78c827, from cdfa835c6e5e87d145f9f632b58843de97509f2b before 3ee098f96b8b6c1a98f7f97915f8873164e6af9d, 4.20 Not affected: before 4.20, from 5.4.122 up to 5.4.*, from 5.10.40 up to 5.10.*, from 5.12.7 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 4.20 before 5.4.122, from 5.5 before 5.10.40, from 5.11 before 5.12.7, 5.13 | NVD |
Classification
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 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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: uio_hv_generic: corrige una pérdida de memoria en las rutas de manejo de errores. Si falla 'vmbus_establecer_gpadl()', (recv|send)_gpadl no se actualizará y aparecerá 'hv_uio_cleanup()' en el error La ruta de manejo no podrá liberar el búfer correspondiente. En tal caso, necesitamos liberar el búfer explícitamente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47071 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47071 changed 2026-06-17 | Public domain |