CVE-2021-46967

vhost-vdpa: fix vm_flags for virtqueue doorbell mapping

State
Published
Severity
7.8 High
Published
Feb 27, 2024
Updated
Aug 5, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to before 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6Affected
  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to before 940230a5c31e2714722aee04c521a21f484b4df7Affected
  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to before 93dbbf20e3ffad14f04227a0b7105f6e6f0387ceAffected
  • ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to before 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.36 through 5.10.*Not affected
  • 5.11.20 through 5.11.*Not affected
  • 5.12.3 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.