Description
An out-of-bounds read in viona allows a bhyve guest to cause host kernel memory outside the guest to be interpreted as virtqueue descriptors. viona is the in-kernel virtio network device that illumos provides to bhyve guests. The flaw is in vq_map_indir_desc_bufs() in usr/src/uts/intel/io/viona/viona_ring.c, which processes an indirect descriptor table. For each 16-byte descriptor, it holds the single guest page that contains the start of the descriptor, and copies the descriptor from that page's kernel mapping. It does not check that the descriptor lies entirely within the page. The address of the table is not required to be aligned, so a descriptor can straddle a page boundary. The trailing bytes of such a descriptor are read from the memory that follows the page in the host kernel's address space, and not from the next guest page. A privileged user within a guest VM that has negotiated indirect descriptors can place an indirect table at an unaligned address. Up to 15 bytes of adjacent host memory are then used as the address, length, flags and next fields of a descriptor. viona reports the total length of each descriptor chain back to the guest in the used ring. A guest can therefore learn the host bytes that were used as a descriptor length, and can repeat the request to observe them change. The flaw has existed since 2021 (illumos-gate commit 427f9b9a), and affects any illumos distribution prior to illumos-gate commit 8b27e3ce.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
Vendor Solution
Update to an illumos distribution release that includes the fix for illumos issue 18622.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Tue, 01 Dec 2026 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | An out-of-bounds read in viona allows a bhyve guest to cause host kernel memory outside the guest to be interpreted as virtqueue descriptors. viona is the in-kernel virtio network device that illumos provides to bhyve guests. The flaw is in vq_map_indir_desc_bufs() in usr/src/uts/intel/io/viona/viona_ring.c, which processes an indirect descriptor table. For each 16-byte descriptor, it holds the single guest page that contains the start of the descriptor, and copies the descriptor from that page's kernel mapping. It does not check that the descriptor lies entirely within the page. The address of the table is not required to be aligned, so a descriptor can straddle a page boundary. The trailing bytes of such a descriptor are read from the memory that follows the page in the host kernel's address space, and not from the next guest page. A privileged user within a guest VM that has negotiated indirect descriptors can place an indirect table at an unaligned address. Up to 15 bytes of adjacent host memory are then used as the address, length, flags and next fields of a descriptor. viona reports the total length of each descriptor chain back to the guest in the used ring. A guest can therefore learn the host bytes that were used as a descriptor length, and can repeat the request to observe them change. The flaw has existed since 2021 (illumos-gate commit 427f9b9a), and affects any illumos distribution prior to illumos-gate commit 8b27e3ce. | |
| Title | Out-of-bounds read in illumos viona indirect descriptor handling allows bhyve guest to have host memory used as descriptor data | |
| Weaknesses | CWE-125 | |
| References |
| |
| Metrics |
cvssV4_0
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: illumos
Published:
Updated: 2026-12-01T20:32:12.168Z
Reserved: 2026-11-24T16:00:40.867Z
Link: CVE-2026-136232
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses