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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-02-27T18:47:04.253Z
- Modified: 2026-08-05T08:45:17.104Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 before 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6; from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 before 940230a5c31e2714722aee04c521a21f484b4df7; from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 before 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce; from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 before 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44; 5.8 (not affected: before 5.8; from 5.10.36 up to 5.10.*; from 5.11.20 up to 5.11.*; from 5.12.3 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.8 before 5.10.36; from 5.11 before 5.11.20; from 5.12 before 5.12.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6> (patch)
- <https://git.kernel.org/stable/c/940230a5c31e2714722aee04c521a21f484b4df7> (patch)
- <https://git.kernel.org/stable/c/93dbbf20e3ffad14f04227a0b7105f6e6f0387ce> (patch)
- <https://git.kernel.org/stable/c/3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44> (patch)

## Sources

- CVE List: [CVE-2021-46967](https://www.cve.org/CVERecord?id=CVE-2021-46967), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-46967](https://nvd.nist.gov/vuln/detail/CVE-2021-46967), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-46967 · Whole record: https://cve.day/CVE-2021-46967.json · Rebuilt by cve.day 2026-11-25T22:58:08.591Z
