Memory Leak Vulnerability in Linux Kernel - CVE-2021-47070

linux Updated 02 Oct 2025

Summary

01/03/2024
N/A
No i
Unrated
Not published

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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. It is known for its stability, performance, and flexibility, making it a popular choice for servers, desktops, and embedded systems. This vulnerability specifically affects the 'uio_hv_generic' driver, which is responsible for handling user-space I/O operations in Hyper-V environments. The vulnerability arises from a memory leak that occurs during error handling, potentially leading to resource exhaustion.

Vulnerability Detail

CVE-2021-47070 is a memory leak vulnerability in the Linux kernel's uio_hv_generic driver. The issue originates from the 'vmbus_alloc_ring()' function, where memory allocated at the beginning of the probe function is not freed in the error handling path. This oversight can lead to increased memory consumption, which may eventually exhaust system resources and degrade performance. The vulnerability has been addressed by adding a missing 'vmbus_free_ring()' call in the error handling path, ensuring that allocated memory is properly released.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best approach is to apply the fix by updating the Linux package as described above.

Conclusion

CVE-2021-47070 is a significant memory leak vulnerability in the Linux kernel that can lead to resource exhaustion. It is crucial for users to update their systems to the latest version of the Linux package to mitigate this risk. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47070 is a memory leak vulnerability in the Linux kernel's uio_hv_generic driver that can lead to resource exhaustion.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.

The vulnerability can lead to increased memory usage, which may exhaust system resources and degrade overall system performance.

Yes, a patch is available in the latest versions of the Linux package. Ensure you update to the fixed version.

While there are no specific workarounds, it is advisable to monitor system performance and resource usage until you can apply the update.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback