CVE-2021-46967
JSON

7.8high

vhost-vdpa: fix vm_flags for virtqueue doorbell mapping

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 5.8 before 5.10.36, from 5.11 before 5.11.20, from 5.12 before 5.12.3NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: vhost-vdpa: corrige vm_flags para el mapeo del timbre virtqueue El timbre virtqueue generalmente se implementa a través de registros, pero no proporcionamos los vma->flags necesarios como VM_PFNMAP. Esto puede causar varios problemas, por ejemplo, cuando el espacio de usuario intenta asignar el timbre a través de vhost IOTLB, el kernel puede entrar en pánico debido a que la página no está respaldada por la estructura de la página. Este parche soluciona este problema configurando los vm_flags necesarios. Con este parche, intentar asignar el timbre a través de IOTLB fallará con una dirección incorrecta.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46967 changed 2026-08-05CVE Terms of Use
NVDCVE-2021-46967 changed 2026-08-04Public domain