Out-of-bounds read in illumos viona indirect descriptor handling allows bhyve guest to have host memory used as descriptor data
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| illumos | illumos-gate | unaffected |
|
||||||||||||||||||
| OmniOS | OmniOS | unaffected |
|
No data.
No data.
No data available yet.
Vendor Solution
Update to an illumos distribution release that includes the fix for illumos issue 18622.
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| 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
|