Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6affected
  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 940230a5c31e2714722aee04c521a21f484b4df7affected
  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 93dbbf20e3ffad14f04227a0b7105f6e6f0387ceaffected
  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44affected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 5.10.36 to ≤ 5.10.*unaffected
  • 5.11.20 to ≤ 5.11.*unaffected
  • 5.12.3 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References