7.8

CVE-2026-74312

vhost/vdpa: validate virtqueue index in mmap and fault paths

In the Linux kernel, the following vulnerability has been resolved:

vhost/vdpa: validate virtqueue index in mmap and fault paths

vhost_vdpa_mmap() and vhost_vdpa_fault() use vma->vm_pgoff as a
virtqueue index for get_vq_notification(), but they do not validate
that the index is smaller than v->nvqs.

The ioctl path already performs both a bounds check and
array_index_nospec(), but the mmap/fault path only checks that the
index fits in u16. This allows an out-of-range queue index to reach
driver-specific get_vq_notification() callbacks.

Fix this by extracting a unified vhost_vdpa_get_vq_notification()
helper that validates the queue index against v->nvqs and applies
array_index_nospec() before calling the driver callback. Both the
mmap and fault paths use this helper, and the bounds checking is
consolidated into a single location.

From source inspection, the most defensible impact is out-of-bounds
access in the callback path, potentially leading to invalid PFN
remaps and crash/DoS.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < 0f310bac6db9bd3bb1655707d692d9d2a86eeb17
Status affected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < 4bf5a51963ff816f7443702dc536b9327cf5e550
Status affected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < 55a644031e610ea93fbde2702c7b8f267476552f
Status affected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < 2b3f79b90b231a682315fe2191bb71925650e183
Status affected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < bbba4f92515238d76018e9b75e41b16d83df52c8
Status affected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < 1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e
Status affected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < 32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d
Status affected
Version ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9
Version < 929e4f044621c8cc30b612fb74e1410bef09e41b
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 5.8
Status affected
Version 0
Version < 5.8
Status unaffected
Version <= 5.10.*
Version 5.10.261
Status unaffected
Version <= 5.15.*
Version 5.15.212
Status unaffected
Version <= 6.1.*
Version 6.1.178
Status unaffected
Version <= 6.6.*
Version 6.6.145
Status unaffected
Version <= 6.12.*
Version 6.12.97
Status unaffected
Version <= 6.18.*
Version 6.18.40
Status unaffected
Version <= 7.1.*
Version 7.1.5
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.13% 0.03
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/0f310bac6db9bd3bb1655707d692d9d2a86eeb17
https://git.kernel.org/stable/c/4bf5a51963ff816f7443702dc536b9327cf5e550
https://git.kernel.org/stable/c/55a644031e610ea93fbde2702c7b8f267476552f
https://git.kernel.org/stable/c/2b3f79b90b231a682315fe2191bb71925650e183
https://git.kernel.org/stable/c/bbba4f92515238d76018e9b75e41b16d83df52c8
https://git.kernel.org/stable/c/1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e
https://git.kernel.org/stable/c/32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d
https://git.kernel.org/stable/c/929e4f044621c8cc30b612fb74e1410bef09e41b