{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "67a873df0c410915275f735fedb401b9637d6faf"
            },
            {
              "fixed": "ebdc350cfb1740b6411420482e58a35cc4761628"
            },
            {
              "fixed": "308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0"
            },
            {
              "fixed": "e244725e86be02cd85cb878b3ed8570eba2e4be1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99686.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nvhost: fix used ring index wrap in vhost_add_used_n_in_order\n\nvhost_add_used_n_in_order() advances start by nheads[i] but wraps it\nwith a single subtraction.  If start + nheads[i] \u003e= 2 * vq-\u003enum, start\ncan remain outside the ring.\n\nWith used-ring logging enabled, start \u003e vq-\u003enum makes (vq-\u003enum - start)\nunderflow.  log_write() then sets bits beyond the dirty-log bitmap,\npotentially corrupting adjacent userspace memory.  This is reachable on\nthe vhost-net TX path with VIRTIO_F_IN_ORDER: done_idx can reach\nVHOST_NET_BATCH (64), triggering the issue with a 32-entry ring.\n\nWrap start with a mask to keep it within the ring.  VHOST_SET_VRING_NUM\nenforces a nonzero power-of-two ring size, allowing start to be wrapped\nusing \u0026 (vq-\u003enum - 1).",
  "id": "CVE-2026-99686",
  "modified": "2026-11-20T06:45:38.424159791Z",
  "published": "2026-11-20T05:50:31.888Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e244725e86be02cd85cb878b3ed8570eba2e4be1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ebdc350cfb1740b6411420482e58a35cc4761628"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99686.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99686"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "vhost: fix used ring index wrap in vhost_add_used_n_in_order"
}