{"id":"CVE-2021-47070","state":"PUBLISHED","title":"uio_hv_generic: Fix another memory leak in error handling paths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nuio_hv_generic: Fix another memory leak in error handling paths\n\nMemory allocated by 'vmbus_alloc_ring()' at the beginning of the probe\nfunction is never freed in the error handling path.\n\nAdd the missing 'vmbus_free_ring()' call.\n\nNote that it is already freed in the .remove function.","publishedAt":"2024-03-01T21:15:09.387Z","updatedAt":"2026-05-11T13:47:29.928Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cdfa835c6e5e87d145f9f632b58843de97509f2b","status":"affected","lessThan":"261bbd90cc53d2835343f056770156cf1e82cf03","versionType":"git"},{"version":"cdfa835c6e5e87d145f9f632b58843de97509f2b","status":"affected","lessThan":"5f59240cf25b2f7a0fdffc2701482a70310fec07","versionType":"git"},{"version":"cdfa835c6e5e87d145f9f632b58843de97509f2b","status":"affected","lessThan":"0b0226be3a52dadd965644bc52a807961c2c26df","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/uio/uio_hv_generic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.10.241","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.7","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/uio/uio_hv_generic.c"]}],"references":["https://git.kernel.org/stable/c/261bbd90cc53d2835343f056770156cf1e82cf03","https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07","https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df","https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47070.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47070","state":"PUBLISHED","datePublished":"2024-03-01T21:15:09.387Z","dateUpdated":"2026-05-11T13:47:29.928Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-29T22:33:44.296Z"},"containers":{"cna":{"title":"uio_hv_generic: Fix another memory leak in error handling paths","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nuio_hv_generic: Fix another memory leak in error handling paths\n\nMemory allocated by 'vmbus_alloc_ring()' at the beginning of the probe\nfunction is never freed in the error handling path.\n\nAdd the missing 'vmbus_free_ring()' call.\n\nNote that it is already freed in the .remove function."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cdfa835c6e5e87d145f9f632b58843de97509f2b","status":"affected","lessThan":"261bbd90cc53d2835343f056770156cf1e82cf03","versionType":"git"},{"version":"cdfa835c6e5e87d145f9f632b58843de97509f2b","status":"affected","lessThan":"5f59240cf25b2f7a0fdffc2701482a70310fec07","versionType":"git"},{"version":"cdfa835c6e5e87d145f9f632b58843de97509f2b","status":"affected","lessThan":"0b0226be3a52dadd965644bc52a807961c2c26df","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/uio/uio_hv_generic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.10.241","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.7","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/uio/uio_hv_generic.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/261bbd90cc53d2835343f056770156cf1e82cf03"},{"url":"https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07"},{"url":"https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:47:29.928Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.10.241"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.12.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-03-05T19:35:32.485237Z","id":"CVE-2021-47070","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-04T18:26:07.449Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/5f59240cf25b2f7a0fdffc2701482a70310fec07","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/0b0226be3a52dadd965644bc52a807961c2c26df","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T17:30:51.887Z"}}]}}}