{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99686","id":"CVE-2026-99686","title":"Linux kernel userspace memory corruption in vhost used-ring logging","description":"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] >= 2 * vq->num, start\ncan remain outside the ring.\n\nWith used-ring logging enabled, start > vq->num makes (vq->num - start)\nunderflow.  log_write() the","descriptionLong":"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] >= 2 * vq->num, start\ncan remain outside the ring.\n\nWith used-ring logging enabled, start > vq->num makes (vq->num - 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 & (vq->num - 1).","published":"2026-11-20T05:50:31.888Z","updated":"2026-11-20T05:50:31.888Z","reserved":"2026-09-25T10:25:14.429Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"67a873df0c410915275f735fedb401b9637d6faf","lessThan":"ebdc350cfb1740b6411420482e58a35cc4761628","status":"affected","versionType":"git"},{"version":"67a873df0c410915275f735fedb401b9637d6faf","lessThan":"308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0","status":"affected","versionType":"git"},{"version":"67a873df0c410915275f735fedb401b9637d6faf","lessThan":"e244725e86be02cd85cb878b3ed8570eba2e4be1","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ebdc350cfb1740b6411420482e58a35cc4761628","tags":[]},{"url":"https://git.kernel.org/stable/c/308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0","tags":[]},{"url":"https://git.kernel.org/stable/c/e244725e86be02cd85cb878b3ed8570eba2e4be1","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99686","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99686","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99686","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99686","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}