CVE-2026-74312
vhost/vdpa: validate virtqueue index in mmap and fault paths
Reported by linux · Published August 15, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | bbba4f92515238d76018e9b75e41b16d83df52c8, 929e4f044621c8cc30b612fb74e1410bef09e41b, 55a644031e610ea93fbde2702c7b8f267476552f, 4bf5a51963ff816f7443702dc536b9327cf5e550, 32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d, 2b3f79b90b231a682315fe2191bb71925650e183, 1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e, 0f310bac6db9bd3bb1655707d692d9d2a86eeb17 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 |
| Linux | Linux | 5.8, 0, 5.10.261 |
| Linux | Linux | 7.2, 0, 5.10.261 |
| linux | linux_kernel | 5.8, 5.8, 5.8 |
Timeline
- Aug 15, 2026 CVE Published
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (10 in total, the first dated here)
- Oct 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74312
vulnetix vdb fixes CVE-2026-74312
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74312/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart