What’s Vulnerable › Vulnerabilities

CVE-2021-46967: vhost-vdpa: fix vm_flags for virtqueue doorbell mapping

Description

In the Linux kernel, the following vulnerability has been resolved: vhost-vdpa: fix vm_flags for virtqueue doorbell mapping The virtqueue doorbell is usually implemented via registeres but we don't provide the necessary vma->flags like VM_PFNMAP. This may cause several issues e.g when userspace tries to map the doorbell via vhost IOTLB, kernel may panic due to the page is not backed by page structure. This patch fixes this by setting the necessary vm_flags. With this patch, try to map doorbell via IOTLB will fail with bad address.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.36, 5.11.20, 5.12.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46967 or the next vulnerability affects your stack