CVE-2021-46967

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 < 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6affected
LinuxLinuxddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 < 940230a5c31e2714722aee04c521a21f484b4df7affected
LinuxLinuxddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 < 93dbbf20e3ffad14f04227a0b7105f6e6f0387ceaffected
LinuxLinuxddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 < 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44affected
LinuxLinux5.8affected
LinuxLinux0 < 5.8unaffected
LinuxLinux5.10.36 <= 5.10.*unaffected
LinuxLinux5.11.20 <= 5.11.*unaffected
LinuxLinux5.12.3 <= 5.12.*unaffected
LinuxLinux5.13 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

CVE Program Container

Additional References

References