# CVE-2026-99686: vhost: fix used ring index wrap in vhost\_add\_used\_n\_in\_order

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-22
- Aliases: DEBIAN-CVE-2026-99686, UBUNTU-CVE-2026-99686, CGA-f6v5-8cq3-x9w8, CGA-fcjh-fvxr-jpmp, CGA-fx87-qxf4-wx9f, CGA-g8p4-c6xw-f77v, CGA-h7pm-5fc6-jc9h, CGA-jmq8-r4h9-mq42, CGA-jmrg-8m92-5gpf, CGA-mq75-q2gr-cf2r, CGA-ph9p-cf47-vpr3, CGA-qr4q-w638-5hq3, CGA-wh93-xxxf-6wpv, CGA-2895-q97m-42m6, CGA-586c-xj47-fr3m, CGA-5r34-8hjg-5g37, CGA-9v83-jwjp-7c44, CGA-h9g4-h2hx-v6cc, CGA-hc74-3hvf-7x49, CGA-v8fr-3758-h4vq, CGA-3fx8-cfr2-r6j9
- Record: https://cvemate.com/vulnerability/CVE-2026-99686 · JSON: https://cvemate.com/vulnerability/CVE-2026-99686/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

vhost: fix used ring index wrap in vhost_add_used_n_in_order

vhost_add_used_n_in_order() advances start by nheads[i] but wraps it
with a single subtraction.  If start + nheads[i] >= 2 * vq->num, start
can remain outside the ring.

With used-ring logging enabled, start > vq->num makes (vq->num - start)
underflow.  log_write() then sets bits beyond the dirty-log bitmap,
potentially corrupting adjacent userspace memory.  This is reachable on
the vhost-net TX path with VIRTIO_F_IN_ORDER: done_idx can reach
VHOST_NET_BATCH (64), triggering the issue with a 32-entry ring.

Wrap start with a mask to keep it within the ring.  VHOST_SET_VRING_NUM
enforces a nonzero power-of-two ring size, allowing start to be wrapped
using & (vq->num - 1).
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.152%, percentile 4.538%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 7.3.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/ebdc350cfb1740b6411420482e58a35cc4761628>
- <https://git.kernel.org/stable/c/308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0>
- <https://git.kernel.org/stable/c/e244725e86be02cd85cb878b3ed8570eba2e4be1>
- <https://security-tracker.debian.org/tracker/CVE-2026-99686>
- <https://ubuntu.com/security/CVE-2026-99686>
- <https://www.cve.org/CVERecord?id=CVE-2026-99686>
- <https://git.kernel.org/linus/e244725e86be02cd85cb878b3ed8570eba2e4be1>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99686.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99686>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T14:03:49.072Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
