# CVE-2021-47070: uio_hv_generic: Fix another memory leak in error handling paths

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-03-01T21:15:09.387Z
- Modified: 2026-06-17T04:16:23.053Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 4.20 before 5.12.7; 5.13

## References

- <https://git.kernel.org/stable/c/261bbd90cc53d2835343f056770156cf1e82cf03>
- <https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07> (patch)
- <https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Sources

- CVE List: [CVE-2021-47070](https://www.cve.org/CVERecord?id=CVE-2021-47070), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47070](https://nvd.nist.gov/vuln/detail/CVE-2021-47070), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47070 · Whole record: https://cve.day/CVE-2021-47070.json · Rebuilt by cve.day 2026-11-25T22:58:08.646Z
