Vulnerability in vhost-vdpa: fix vm_flags for virtqueue doorbell mapping

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

UVI-2021-1000120: vhost-vdpa: fix vm_flags for virtqueue doorbell mapping. Affects Kernel versions >= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, < 940230a5c31e2714722aee04c521a21f484b4df7. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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