CVE-2021-46967
published high CVSS 3.1 · 7.8vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6 · ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 940230a5c31e2714722aee04c521a21f484b4df7 · ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce · ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.36 through 5.10.* (unaffected · semver) · 5.11.20 through 5.11.* (unaffected · semver) · 5.12.3 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only via local open/mmap/ioctl on `/dev/vhost-vdpa-N` (mmap of the virtqueue doorbell, then a vhost IOTLB update on that uaddr), not via network packets or adjacent-link protocols. AC:L - An attacker who can open the device can deterministically mmap the doorbell and submit a VHOST_IOTLB_UPDATE for that address without depending on races, special memory layout, or other conditions outside their control. PR:L - There is no capability check on the open/mmap/IOTLB path; access is gated only by DAC on the vhost-vdpa node, which in standard libvirt/QEMU deployments is held by an unprivileged VMM account (same model as CVE-2024-47748). UI:N - The attacker performs the mmap and IOTLB update from their own process; no separate victim action is required. S:U - Impact is confined to the host kernel authority that already owns the vhost-vdpa/IOTLB path; this is not a guest-to-host escape or an exploit whose defining effect is crossing an IOMMU/VM boundary. C:H - Without VM_PFNMAP, IOTLB pinning of the doorbell can proceed into GUP’s PFNMAP -EEXIST path, which in the affected kernels left page_list entries unset so page_to_pfn/IOMMU map operate on attacker-influenced garbage, enabling arbitrary physical-memory disclosure via bad DMA maps. I:H - The same uninitialized-page / wrong-PFN IOTLB install and later pfn_to_page/unpin_user_page teardown provide kernel memory corruption and arbitrary DMA write primitives against host physical memory. A:H - The fix explicitly documents that mapping the doorbell via vhost IOTLB can panic the kernel because the page is not backed by a struct page, which is High availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6 (affected · git)ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 940230a5c31e2714722aee04c521a21f484b4df7 (affected · git)ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce (affected · git)ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 to < 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.36 through 5.10.* (unaffected · semver)5.11.20 through 5.11.* (unaffected · semver)5.12.3 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 73e23fc4fd7fb168d30799cd3494ee99d5f6c86602a5405d830f12eec3093584
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record