CVE-2026-74312
vhost/vdpa: validate virtqueue index in mmap and fault paths
Check your servers for CVE-2026-74312
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74312 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.77% of all scored CVEs. Scores of 2 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before 0f310bac6db9bd3bb1655707d692d9d2a86eeb17 affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before 4bf5a51963ff816f7443702dc536b9327cf5e550 affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before 55a644031e610ea93fbde2702c7b8f267476552f affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before 2b3f79b90b231a682315fe2191bb71925650e183 affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before bbba4f92515238d76018e9b75e41b16d83df52c8 affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before 1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before 32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d affected from ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9, before 929e4f044621c8cc30b612fb74e1410bef09e41b
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 5.10.261 up to and including 5.10.* unaffected from 5.15.212 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74312 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74312
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74312
trivy image --scanners vuln IMAGE | grep CVE-2026-74312
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0f310bac6db9bd3bb1655707d692d9d2a86eeb17 git.kernel.org
- https://git.kernel.org/stable/c/4bf5a51963ff816f7443702dc536b9327cf5e550 git.kernel.org
- https://git.kernel.org/stable/c/55a644031e610ea93fbde2702c7b8f267476552f git.kernel.org
- https://git.kernel.org/stable/c/2b3f79b90b231a682315fe2191bb71925650e183 git.kernel.org
- https://git.kernel.org/stable/c/bbba4f92515238d76018e9b75e41b16d83df52c8 git.kernel.org
- https://git.kernel.org/stable/c/1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e git.kernel.org
- https://git.kernel.org/stable/c/32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d git.kernel.org
- https://git.kernel.org/stable/c/929e4f044621c8cc30b612fb74e1410bef09e41b git.kernel.org
Source: the record CVE-2026-74312 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse