Linux Kernelのvhostに脆弱性、メモリ破壊のおそれ
Summary
Linux Kernelのvhostで、リングバッファの添字の折り返し処理に誤りがあり、ユーザー空間のメモリが壊されるおそれがあります。影響するのは6.17.0以降6.18.64未満と、6.19.0以降7.3.5未満の版で、修正版は6.18.64と7.3.5です。該当する版を使っている場合は、修正版への更新を検討してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux Kernelのvhostで、リングバッファの添字の折り返し処理に誤りがあり、ユーザー空間のメモリが壊されるおそれがあります。影響するのは6.17.0以降6.18.64未満と、6.19.0以降7.3.5未満の版で、修正版は6.18.64と7.3.5です。該当する版を使っている場合は、修正版への更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.17.0, < 6.18.64→ 6.18.64 ≥ 6.19.0, < 7.3.5→ 7.3.5 |
6.18.64 7.3.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99686 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99686 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99686 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 +118 more No fixed version in this record
Original description The description as published by the source.
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).
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web nvd.nist.gov
- web github.com