{"api_version":"1","generated_at":"2026-08-22T06:26:54+00:00","cve":"CVE-2026-74312","urls":{"html":"https://cve.report/CVE-2026-74312","api":"https://cve.report/api/cve/CVE-2026-74312.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74312","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74312"},"summary":{"title":"vhost/vdpa: validate virtqueue index in mmap and fault paths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost/vdpa: validate virtqueue index in mmap and fault paths\n\nvhost_vdpa_mmap() and vhost_vdpa_fault() use vma->vm_pgoff as a\nvirtqueue index for get_vq_notification(), but they do not validate\nthat the index is smaller than v->nvqs.\n\nThe ioctl path already performs both a bounds check and\narray_index_nospec(), but the mmap/fault path only checks that the\nindex fits in u16. This allows an out-of-range queue index to reach\ndriver-specific get_vq_notification() callbacks.\n\nFix this by extracting a unified vhost_vdpa_get_vq_notification()\nhelper that validates the queue index against v->nvqs and applies\narray_index_nospec() before calling the driver callback. Both the\nmmap and fault paths use this helper, and the bounds checking is\nconsolidated into a single location.\n\nFrom source inspection, the most defensible impact is out-of-bounds\naccess in the callback path, potentially leading to invalid PFN\nremaps and crash/DoS.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:31","updated_at":"2026-08-17 06:19:25"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/2b3f79b90b231a682315fe2191bb71925650e183","name":"https://git.kernel.org/stable/c/2b3f79b90b231a682315fe2191bb71925650e183","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4bf5a51963ff816f7443702dc536b9327cf5e550","name":"https://git.kernel.org/stable/c/4bf5a51963ff816f7443702dc536b9327cf5e550","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d","name":"https://git.kernel.org/stable/c/32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bbba4f92515238d76018e9b75e41b16d83df52c8","name":"https://git.kernel.org/stable/c/bbba4f92515238d76018e9b75e41b16d83df52c8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/929e4f044621c8cc30b612fb74e1410bef09e41b","name":"https://git.kernel.org/stable/c/929e4f044621c8cc30b612fb74e1410bef09e41b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/55a644031e610ea93fbde2702c7b8f267476552f","name":"https://git.kernel.org/stable/c/55a644031e610ea93fbde2702c7b8f267476552f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e","name":"https://git.kernel.org/stable/c/1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0f310bac6db9bd3bb1655707d692d9d2a86eeb17","name":"https://git.kernel.org/stable/c/0f310bac6db9bd3bb1655707d692d9d2a86eeb17","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74312","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74312","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 0f310bac6db9bd3bb1655707d692d9d2a86eeb17 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 4bf5a51963ff816f7443702dc536b9327cf5e550 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 55a644031e610ea93fbde2702c7b8f267476552f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 2b3f79b90b231a682315fe2191bb71925650e183 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 bbba4f92515238d76018e9b75e41b16d83df52c8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9 929e4f044621c8cc30b612fb74e1410bef09e41b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.261 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.212 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.178 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"74312","cve":"CVE-2026-74312","epss":"0.001290000","percentile":"0.029830000","score_date":"2026-08-17","updated_at":"2026-08-18 00:11:46"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/vhost/vdpa.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0f310bac6db9bd3bb1655707d692d9d2a86eeb17","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"},{"lessThan":"4bf5a51963ff816f7443702dc536b9327cf5e550","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"},{"lessThan":"55a644031e610ea93fbde2702c7b8f267476552f","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"},{"lessThan":"2b3f79b90b231a682315fe2191bb71925650e183","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"},{"lessThan":"bbba4f92515238d76018e9b75e41b16d83df52c8","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"},{"lessThan":"1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"},{"lessThan":"32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"},{"lessThan":"929e4f044621c8cc30b612fb74e1410bef09e41b","status":"affected","version":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/vhost/vdpa.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.8"},{"lessThan":"5.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.261","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.212","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.178","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.145","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.261","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.212","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.178","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.145","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"5.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost/vdpa: validate virtqueue index in mmap and fault paths\n\nvhost_vdpa_mmap() and vhost_vdpa_fault() use vma->vm_pgoff as a\nvirtqueue index for get_vq_notification(), but they do not validate\nthat the index is smaller than v->nvqs.\n\nThe ioctl path already performs both a bounds check and\narray_index_nospec(), but the mmap/fault path only checks that the\nindex fits in u16. This allows an out-of-range queue index to reach\ndriver-specific get_vq_notification() callbacks.\n\nFix this by extracting a unified vhost_vdpa_get_vq_notification()\nhelper that validates the queue index against v->nvqs and applies\narray_index_nospec() before calling the driver callback. Both the\nmmap and fault paths use this helper, and the bounds checking is\nconsolidated into a single location.\n\nFrom source inspection, the most defensible impact is out-of-bounds\naccess in the callback path, potentially leading to invalid PFN\nremaps and crash/DoS."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is reached only via local mmap()/page-fault handling on /dev/vhost-vdpa-N (vma->vm_pgoff selects the virtqueue); there is no network, adjacent-radio, or physical-device path to this code.\nAC:L - Once the device node is open, the attacker fully controls vm_pgoff and can pick any index up to 65535; no race, rare config, or victim-dependent timing is required to hit the out-of-range callback.\nPR:L - vhost_vdpa_open()/mmap() perform no capable() checks; in typical cloud/hypervisor deployments the vhost-vdpa char device is held by an unprivileged VMM/QEMU account (or a compromised QEMU), not init-namespace root.\nUI:N - Exploitation requires only the attacker's own open/mmap of the vhost-vdpa device with a crafted pgoff; no separate victim mount, click, or administrative action is needed.\nS:U - Impact stays within the host kernel security domain reached through the vhost-vdpa interface; it is not a guest-to-host VM escape or IOMMU-boundary bypass by itself.\nC:H - An out-of-range index drives driver get_vq_notification() callbacks (e.g. vp_vdpa/ifcvf/pds/octeon) to read past vring metadata; the returned notify.addr is then used by vmf_insert_pfn(), enabling arbitrary physical-page mapping and kernel memory disclosure.\nI:H - The mmap mapping is write-only doorbell access; remapping an attacker-chosen physical page via the corrupted notify.addr grants a write primitive to arbitrary physical memory and device MMIO, supporting control-flow or privilege manipulation.\nA:H - Invalid or attacker-influenced PFN insertion during fault handling can BUG/oops the kernel immediately; even without full exploitation, the out-of-bounds callback access provides a reliable host crash/DoS vector."}]}],"providerMetadata":{"dateUpdated":"2026-08-17T05:45:44.929Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0f310bac6db9bd3bb1655707d692d9d2a86eeb17"},{"url":"https://git.kernel.org/stable/c/4bf5a51963ff816f7443702dc536b9327cf5e550"},{"url":"https://git.kernel.org/stable/c/55a644031e610ea93fbde2702c7b8f267476552f"},{"url":"https://git.kernel.org/stable/c/2b3f79b90b231a682315fe2191bb71925650e183"},{"url":"https://git.kernel.org/stable/c/bbba4f92515238d76018e9b75e41b16d83df52c8"},{"url":"https://git.kernel.org/stable/c/1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e"},{"url":"https://git.kernel.org/stable/c/32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d"},{"url":"https://git.kernel.org/stable/c/929e4f044621c8cc30b612fb74e1410bef09e41b"}],"title":"vhost/vdpa: validate virtqueue index in mmap and fault paths","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74312","datePublished":"2026-08-15T05:58:11.395Z","dateReserved":"2026-08-15T05:44:03.883Z","dateUpdated":"2026-08-17T05:45:44.929Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:31","lastModifiedDate":"2026-08-17 06:19:25","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74312","Ordinal":"1","Title":"vhost/vdpa: validate virtqueue index in mmap and fault paths","CVE":"CVE-2026-74312","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74312","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost/vdpa: validate virtqueue index in mmap and fault paths\n\nvhost_vdpa_mmap() and vhost_vdpa_fault() use vma->vm_pgoff as a\nvirtqueue index for get_vq_notification(), but they do not validate\nthat the index is smaller than v->nvqs.\n\nThe ioctl path already performs both a bounds check and\narray_index_nospec(), but the mmap/fault path only checks that the\nindex fits in u16. This allows an out-of-range queue index to reach\ndriver-specific get_vq_notification() callbacks.\n\nFix this by extracting a unified vhost_vdpa_get_vq_notification()\nhelper that validates the queue index against v->nvqs and applies\narray_index_nospec() before calling the driver callback. Both the\nmmap and fault paths use this helper, and the bounds checking is\nconsolidated into a single location.\n\nFrom source inspection, the most defensible impact is out-of-bounds\naccess in the callback path, potentially leading to invalid PFN\nremaps and crash/DoS.","Type":"Description","Title":"vhost/vdpa: validate virtqueue index in mmap and fault paths"}]}}}