CVE-2021-46967

vhost-vdpa: fix vm_flags for virtqueue doorbell mapping

MEDIUM
5.5
CVSS Score
Published: February 27, 2024 at 06:47 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.11.205.12 ≤ v < 5.12.35.8 ≤ v < 5.10.365.8 ≤ v < 5.11.205.8 ≤ v < 5.12.35.8 ≤ v < 5.135.8ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Vendor states this is fixed in 3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44 (fixed)
Vendor states this is fixed in 3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6 (fixed)
Vendor states this is fixed in 93dbbf20e3ffad14f04227a0b7105f6e6f0387ce (fixed)
Vendor states this is fixed in 940230a5c31e2714722aee04c521a21f484b4df7 (fixed)
Vendor states this is fixed in 5.10.36 (unaffected)
Vendor states this is fixed in 5.11.20 (unaffected)
Vendor states this is fixed in 5.12.3 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b8b6399666a29daa30b0bb3f5c9e3fc81c5a6a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/93dbbf20e3ffad14f04227a0b7105f6e6f0387ce
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/940230a5c31e2714722aee04c521a21f484b4df7

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card