# CVE-2021-46967: vhost-vdpa: fix vm\_flags for virtqueue doorbell mapping

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2024-02-27T18:47:04.253Z
- **Modified:** 2026-08-05T08:45:17.104Z

## Who should check

- Anyone running Linux \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 940230a5c31e2714722aee04c521a21f484b4df7; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44
- Anyone running Linux 5.8

## 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 and fixed versions

- Linux: \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 940230a5c31e2714722aee04c521a21f484b4df7; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-46967. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-46967.md
Affected: Linux >= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, < 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6; >= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, < 940230a5c31e2714722aee04c521a21f484b4df7; >= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, < 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce; >= ddd89d0a059d8e9740c75a9…
Fixed in: Linux 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6, Linux 940230a5c31e2714722aee04c521a21f484b4df7, Linux 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce, Linux 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-46967 being exploited?

There is no confirmed exploitation: CVE-2021-46967 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-46967?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-46967?

Linux \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 940230a5c31e2714722aee04c521a21f484b4df7; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce; \>= ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, \< 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44; Linux 5.8.

### Is there a fix for CVE-2021-46967?

Yes. Fixed in Linux 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6, Linux 940230a5c31e2714722aee04c521a21f484b4df7, Linux 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce, Linux 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44. Upgrade Linux to 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44 or later.

### How do I check if I'm affected by CVE-2021-46967?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-46967>

HTML: <https://flawdb.com/CVE-2021-46967> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-46967>
