Memory Leak in vmbus_add_channel_kobj in Kernel

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000332: Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj. Affects Kernel versions >= c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c, < 417947891bd5ae327f15efed1a0da2b12ef24962. 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 Kernel is a critical component of the Linux operating system that provides core functionality and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different components, and enables the execution of user programs. The vmbus driver in the Kernel is responsible for handling communication between the host and virtual machines. It allows virtual machines to exchange data and interact with the host system. However, a memory leak vulnerability has been identified in the vmbus_add_channel_kobj function, which can lead to resource exhaustion and potential system instability.

Vulnerability Detail

The memory leak vulnerability in vmbus_add_channel_kobj arises from improper handling of resources when adding a channel object to the Kernel's object hierarchy. When a channel object is added, memory is allocated but not properly freed, resulting in a continuous accumulation of memory over time. This can eventually lead to resource exhaustion, impacting system performance and stability. An attacker with access to a virtual machine could potentially exploit this vulnerability to cause a denial-of-service condition or execute arbitrary code with elevated privileges.

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

As a temporary workaround, users can unload and reload the vmbus module to release the accumulated memory. This can be achieved by executing the following commands as root:

rmmod hv_vmbus
modprobe hv_vmbus

However, it is important to note that this workaround only provides a temporary solution and does not address the root cause of the vulnerability. It is strongly recommended to apply the official fix by updating the Kernel.

Conclusion

The memory leak vulnerability in vmbus_add_channel_kobj can have serious implications for system performance and stability. It is crucial to update the Linux Kernel to version v4.19.231 or later to address this issue. In the meantime, users can employ the temporary workaround of unloading and reloading the vmbus module. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The memory leak vulnerability in vmbus_add_channel_kobj can lead to resource exhaustion, impacting system performance and stability. It may result in a denial-of-service condition or allow an attacker to execute arbitrary code with elevated privileges.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it and provide real-time alerts for open-source vulnerabilities, including this memory leak issue.

Yes, a temporary workaround is to unload and reload the vmbus module. This can be done by executing the following commands as root:

rmmod hv_vmbus
modprobe hv_vmbus
``` However, it is important to note that this workaround only provides a temporary solution and does not address the root cause of the vulnerability. It is strongly recommended to apply the official fix by updating the Kernel.

To update the Linux Kernel, you can obtain the latest version from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/. Follow the instructions provided in the repository to compile and install the updated Kernel. Make sure to select a version that includes the fix for the memory leak vulnerability in vmbus_add_channel_kobj.

At the time of this report, there are no known public exploits specifically targeting this memory leak vulnerability in vmbus_add_channel_kobj. However, it is always advisable to apply security patches and updates promptly to mitigate the risk of potential exploits.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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