Increase wait time for VMbus unload in Linux Kernel
Summary
GSD-2021-1000430: Drivers: hv: vmbus: Increase wait time for VMbus unload. Affects Kernel versions >= e03e0498b45309a1abd3fa33b1651d22594e9011, < e83dcf255a136a4c8c454e2271d046f69dd58037. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers. The HV (Hyper-V) vmbus driver is responsible for communication between the host and guest operating systems in a virtualized environment. It facilitates the exchange of messages and data between the hypervisor and the virtual machine.
Vulnerability Detail
The vulnerability identified as GSD-2021-1000430 in the HV vmbus driver of the Linux Kernel allows for potential security risks. The issue arises from an insufficient wait time for VMbus unload, which can lead to race conditions and memory corruption. An attacker could potentially exploit this vulnerability to gain unauthorized access, escalate privileges, or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v5.4.67 of the Linux Kernel and has been fixed in version v5.4.119.
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
If updating the Linux Kernel is not immediately feasible, a possible workaround is to disable the HV vmbus driver if it is not required for the system's functionality. This can be achieved by blacklisting the 'hv_vmbus' module. To do this, add the following line to the '/etc/modprobe.d/blacklist.conf' file:
blacklist hv_vmbus
After adding the line, reboot the system for the changes to take effect.
Conclusion
The vulnerability in the HV vmbus driver of the Linux Kernel can pose significant security risks if left unaddressed. It is crucial to update the Linux Kernel to version v5.4.119 or later to mitigate the vulnerability. If immediate updating is not possible, disabling the HV vmbus driver through the provided workaround can help reduce the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially be exploited by attackers to gain unauthorized access, escalate privileges, or cause a denial-of-service (DoS) condition.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for open-source vulnerabilities, including this one.
Yes, the vulnerability has been fixed in version v5.4.119 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the risk.
Yes, a possible workaround is to disable the HV vmbus driver by blacklisting the 'hv_vmbus' module. Please refer to the 'workaround' section for detailed instructions.
You can find more information about this vulnerability, including the source and fix details, in the vulnerability database maintained by the Cloud Security Alliance. The specific entry for this vulnerability can be accessed at: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000430.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.