{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ddd89d0a059d8e9740c75a97e0efe9bf07ee51f9"
            },
            {
              "fixed": "0f310bac6db9bd3bb1655707d692d9d2a86eeb17"
            },
            {
              "fixed": "4bf5a51963ff816f7443702dc536b9327cf5e550"
            },
            {
              "fixed": "55a644031e610ea93fbde2702c7b8f267476552f"
            },
            {
              "fixed": "2b3f79b90b231a682315fe2191bb71925650e183"
            },
            {
              "fixed": "bbba4f92515238d76018e9b75e41b16d83df52c8"
            },
            {
              "fixed": "1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e"
            },
            {
              "fixed": "32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d"
            },
            {
              "fixed": "929e4f044621c8cc30b612fb74e1410bef09e41b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.8.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74312.json"
  },
  "details": "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-\u003evm_pgoff as a\nvirtqueue index for get_vq_notification(), but they do not validate\nthat the index is smaller than v-\u003envqs.\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-\u003envqs 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.",
  "id": "CVE-2026-74312",
  "modified": "2026-08-18T03:31:09.383884008Z",
  "published": "2026-08-15T05:58:11.395Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0f310bac6db9bd3bb1655707d692d9d2a86eeb17"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1f5f94c6c6b2e4eaa5b45815509e21d0c6cfa81e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2b3f79b90b231a682315fe2191bb71925650e183"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/32ac9097aa2463fcfc12f61cc4a9ebc3579cba7d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4bf5a51963ff816f7443702dc536b9327cf5e550"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/55a644031e610ea93fbde2702c7b8f267476552f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/929e4f044621c8cc30b612fb74e1410bef09e41b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bbba4f92515238d76018e9b75e41b16d83df52c8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74312.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74312"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "vhost/vdpa: validate virtqueue index in mmap and fault paths"
}