{"id":"CVE-2026-74312","aliases":["CVE-2026-74312"],"related":[],"kind":"vulnerability","state":"published","title":"vhost/vdpa: validate virtqueue index in mmap and fault paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T05:58:11.395Z","modified":"2026-10-16T19:17:38.517Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"0f310bac6db9bd3bb1655707d692d9d2a86eeb17","status":"affected"},{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"4bf5a51963ff816f7443702dc536b9327cf5e550","status":"affected"},{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"55a644031e610ea93fbde2702c7b8f267476552f","status":"affected"},{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"2b3f79b90b231a682315fe2191bb71925650e183","status":"affected"},{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"bbba4f92515238d76018e9b75e41b16d83df52c8","status":"affected"},{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e","status":"affected"},{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d","status":"affected"},{"type":"git","introduced":"ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9","fixed":"929e4f044621c8cc30b612fb74e1410bef09e41b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0f310bac6db9bd3bb1655707d692d9d2a86eeb17","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bf5a51963ff816f7443702dc536b9327cf5e550","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55a644031e610ea93fbde2702c7b8f267476552f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b3f79b90b231a682315fe2191bb71925650e183","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbba4f92515238d76018e9b75e41b16d83df52c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/929e4f044621c8cc30b612fb74e1410bef09e41b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:53:00.610Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74312","url":"https://www.cve.org/CVERecord?id=CVE-2026-74312","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:32.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74312","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74312","licence":"Public domain","modified":"2026-10-16T19:17:38.517Z"}],"updatedAt":"2026-11-25T22:59:33.166Z","epss":{"score":0.00129,"percentile":0.02769,"date":"2026-12-01T12:00:22.000Z"}}