GHSA-W95V-VG5C-P3HJ
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-22 12:31In 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).
{
"affected": [],
"aliases": [
"CVE-2026-99686"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:03Z",
"severity": "HIGH"
},
"details": "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] \u003e= 2 * vq-\u003enum, start\ncan remain outside the ring.\n\nWith used-ring logging enabled, start \u003e vq-\u003enum makes (vq-\u003enum - 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 \u0026 (vq-\u003enum - 1).",
"id": "GHSA-w95v-vg5c-p3hj",
"modified": "2026-11-22T12:31:19Z",
"published": "2026-11-20T06:32:07Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99686"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/308e148cf771ed36ad8cd7ef0e9bee2f7ec478d0"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e244725e86be02cd85cb878b3ed8570eba2e4be1"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ebdc350cfb1740b6411420482e58a35cc4761628"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.