Vulnerability in vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
Summary
UVI-2021-1000120: vhost-vdpa: fix vm_flags for virtqueue doorbell mapping. Affects Kernel versions >= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, < 940230a5c31e2714722aee04c521a21f484b4df7. 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 vhost-vdpa package is a component of the Linux Kernel that provides support for the Virtio-vDPA (Virtual Data Path Acceleration) framework. This framework enables efficient communication between virtual machines and physical devices by offloading data path processing to dedicated hardware. The vhost-vdpa package includes functionality for mapping virtqueue doorbells, which are used for signaling between the virtual machine and the device. However, a vulnerability has been discovered in the way the vm_flags for virtqueue doorbell mapping are set.
Vulnerability Detail
The vulnerability in vhost-vdpa arises from incorrect vm_flags being used for virtqueue doorbell mapping. This could potentially lead to security issues such as unauthorized access to memory or privilege escalation. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.11.20. The specific commit that addresses this issue is 940230a5c31e2714722aee04c521a21f484b4df7. For more technical details, please refer to the references link.
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
There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version.
Conclusion
In conclusion, the vhost-vdpa package in the Linux Kernel is vulnerable to a flaw in the mapping of virtqueue doorbells. This vulnerability can be mitigated by updating the kernel to version v5.11.20 or later. It is recommended to apply the necessary updates promptly to ensure the security of the system. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
vhost-vdpa is a component of the Linux Kernel that provides support for the Virtio-vDPA framework, enabling efficient communication between virtual machines and physical devices.
A virtqueue doorbell is used for signaling between a virtual machine and a device in the Virtio-vDPA framework.
The vulnerability could lead to unauthorized access to memory or privilege escalation, potentially compromising the security of the system.
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 to the playground and it will provide real-time alerts for open-source vulnerabilities.
No, there is no known workaround for this vulnerability. It is crucial to update the Linux Kernel to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.