CVE-2026-99686: Linux kernel vhost used-ring index wraps past the dirty-log bitmap

ByLinuxtastic

November 30, 2026 #CVE, #Linux Kernel

The Linux kernel’s vhost driver, which services virtio devices for KVM guests inside the host kernel, gained in-order descriptor handling in 6.17. Its routine for returning a batch of used buffers wraps the ring index with a single subtraction, so a batch that runs past the ring twice over leaves the index outside the ring, and when dirty-page logging is on, as it is during live migration, the logging code then sets bits beyond its bitmap and can corrupt neighbouring host memory. On KVM hosts running 6.17 or later with vhost-net and in-order virtio enabled, update to a kernel from the 20 November 2026 stable releases and reboot. The trigger comes from a guest, which makes this a guest-to-host flaw.

CVE-2026-99686 at a glance.

ComponentLinux kernel, vhost (drivers/vhost/vhost.c, vhost_add_used_n_in_order()), reached through vhost-net
Affected versions6.17 and later (introduced by commit 67a873df0c41), up to the stable releases of 20 November 2026; 6.12 and older long-term kernels do not carry the in-order code
Fixed in7.4-rc2 (commit e244725e86be) and stable 6.18.64, 7.3.5
SeverityCVSS 3.1 7.8 High (AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H, kernel CNA; NVD lists no metrics of its own yet). Red Hat rates it Important and scores it 7.5 (PR:H), CWE-787; SUSE’s page was unreachable on 30 November 2026
Exploited in the wildNot on CISA’s KEV catalogue. EPSS 0.0015 (2nd percentile) on 30 November 2026
Who is exposedKVM hosts on an affected kernel whose guests use vhost-net with the VIRTIO_F_IN_ORDER feature negotiated and used-ring logging switched on (live migration, dirty-page tracking); Red Hat says default virtio ring settings, and setups without in-order processing, are not susceptible
PublishedCVE record 20 November 2026; this page built 30 November 2026, last updated 30 November 2026

What it is

A virtio ring is a fixed-size circular buffer of descriptors shared between a guest and the host. vhost is the host-kernel implementation of the device side, used for networking (vhost-net) and storage. When the host has finished with a batch of buffers it writes them to the used ring, and with the in-order feature it can account for several heads at once. The fix commit explains that vhost_add_used_n_in_order() advances its start index by the number of heads in each entry but wraps it with one subtraction, so when start + nheads[i] is at least twice the ring size the index remains outside the ring.

On its own that is a bookkeeping error. It becomes a memory-safety one when used-ring logging is on: with start past vq->num, the expression vq->num - start underflows and log_write() sets bits beyond the dirty-log bitmap, which the commit says can corrupt adjacent userspace memory, that is, memory of the QEMU or other VMM process on the host. The path is reachable on vhost-net’s transmit side: with VIRTIO_F_IN_ORDER the batch size can reach VHOST_NET_BATCH (64), which overruns a 32-entry ring. The fix wraps start with a mask, which is valid because VHOST_SET_VRING_NUM already requires a non-zero power-of-two ring size.

Red Hat’s statement rates it Important because a privileged guest can trigger memory corruption in the host, and limits the exposure to vhost acceleration with dirty-page tracking active, for example during live migration; default virtio ring settings, and setups without in-order descriptor processing, are not susceptible. The kernel CNA’s vector carries a scope change for the same reason: the damage lands outside the guest that causes it.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
Debian bookworm, trixieNot affected— (vulnerable code not present in 6.1 and 6.12)
Debian forky, sidFixed7.3.6-1
UbuntuTracker unreachablethe page refused automated readers on 30 November 2026; 25.10 and later ship kernels in the affected range, check the link
RHEL, Rocky, Alma, CentOS StreamImportant, but RHEL 7, 8, 9 and 10 listed as Not affectedonly the RHEL 6 ELS kernel row reads Affected; no erratum
SUSE / openSUSETracker unreachablethe page returned an error on 30 November 2026; check the link
Fedora, Arch, Alpine, othersNot consultedfixed once the kernel is at or past 6.18.64 or 7.3.5

How to check

On the host, three questions: is the kernel inside the affected range, is vhost-net in use, and do any guests negotiate the in-order feature. The ring logging that completes the chain is switched on by the VMM during migration, so a host that migrates guests should assume it.

# 1. Kernel version: affected if 6.17 or later and older than 6.18.64 / 7.3.5
uname -r

# 2. vhost-net loaded and in use?
lsmod | grep -E '^vhost(_net)?\b'
sudo ls -l /proc/*/fd 2>/dev/null | grep -c vhost-net

# 3. Any guest with in-order virtio? (QEMU exposes it as a device property; libvirt XML shows it under <driver>)
sudo grep -l 'in_order=on' /proc/*/cmdline 2>/dev/null
sudo virsh list --name 2>/dev/null | xargs -r -n1 sudo virsh dumpxml 2>/dev/null | grep -c 'in_order'

If step 1 is outside the range, or step 2 shows vhost-net neither loaded nor open, the vulnerable routine is not in the picture. If step 3 finds no guest asking for in-order rings, the batch that overruns a 32-entry ring is not built; that matches Red Hat’s statement that default ring settings are not susceptible, but it is a check of today’s configuration, not a guarantee against a VMM that enables the feature later. A host that passes all three on an affected kernel is the case to patch, and if it live-migrates guests, to patch first.

How to fix it

Install the host’s kernel update and reboot the host; guests need no change.

# Debian forky / sid host
sudo apt update && sudo apt install linux-image-amd64 && sudo reboot

# Ubuntu 25.10 and later host (when the USN lands)
sudo apt update && sudo apt install linux-generic && sudo reboot

# Fedora and other current-kernel hosts
sudo dnf update kernel && sudo reboot

Until the host is rebooted, the exposure can be removed per guest by not negotiating the in-order feature (in_order=off on the QEMU virtio-net device, which is the default) or by not using vhost for that guest’s network device; both cost throughput and need the guest restarted. Pausing live migrations keeps the dirty-log bitmap out of play but leaves the index bug itself in place, so it is the weaker of the two.

Sources

  • CVE-2026-99686 at CVE.org — the kernel CNA record with the fix commit message, the affected ranges and the CVSS vector (published 20 November 2026)
  • NVD entry — status Received on 30 November 2026, with no metrics of its own yet
  • Fix commit e244725e86be (mainline 7.4-rc2) and its stable backports ebdc350cfb17, 308e148cf771 — git.kernel.org refuses automated readers, so the description above is from the CNA’s copy of the commit message
  • Distribution trackers: Debian · Ubuntu · Red Hat · SUSE
  • EPSS score for this CVE, 30 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.