CVE-2026-99686
HIGH 7.8CVSS 3.1vhost: fix used ring index wrap in vhost_add_used_n_in_order
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).
- Published
- 20 Nov 2026
- Last modified
- 22 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 67a873df0c410915275f735fedb401b9637d6faf, < ebdc350cfb1740b6411420482e58a35cc4761628; >= 67a873df0c410915275f735fedb401b9637d6faf, < 308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0; >= 67a873df0c410915275f735fedb401b9637d6faf, < e244725e86be02cd85cb878b3ed8570eba2e4be1 | ebdc350cfb1740b6411420482e58a35cc4761628, 308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0, e244725e86be02cd85cb878b3ed8570eba2e4be1 |
| CVE List | Linux | Linux | = 6.17 |
References
- https://git.kernel.org/stable/c/308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0
- https://git.kernel.org/stable/c/e244725e86be02cd85cb878b3ed8570eba2e4be1
- https://git.kernel.org/stable/c/ebdc350cfb1740b6411420482e58a35cc4761628
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 20 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)