Description
An unchecked return value in the illumos bhyve virtio implementation allows a guest to write to memory of the bhyve process outside the guest. _vq_record() in usr/src/cmd/bhyve/common/virtio.c builds the I/O vector for a descriptor chain, and stores the result of paddr_guest2host() as the base of each element. It does not check for NULL, which is returned for a guest physical address range that has no backing memory. Device models then receive elements with a NULL base and a guest-chosen length. The virtio-blk device model computes the location of the request status byte as the last byte of the final element. A privileged user within a guest VM can submit a block request in which the final descriptor refers to unbacked guest physical memory. The one-byte completion status is then written to a chosen address in the first 4 GiB of the bhyve process's address space. The bhyve process typically runs as root within the zone that hosts the VM. The flaw has been present since bhyve was imported (illumos-gate commit bf21cd93), and affects any illumos distribution prior to illumos-gate commit 988c96cf.
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 18636.
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 unchecked return value in the illumos bhyve virtio implementation allows a guest to write to memory of the bhyve process outside the guest. _vq_record() in usr/src/cmd/bhyve/common/virtio.c builds the I/O vector for a descriptor chain, and stores the result of paddr_guest2host() as the base of each element. It does not check for NULL, which is returned for a guest physical address range that has no backing memory. Device models then receive elements with a NULL base and a guest-chosen length. The virtio-blk device model computes the location of the request status byte as the last byte of the final element. A privileged user within a guest VM can submit a block request in which the final descriptor refers to unbacked guest physical memory. The one-byte completion status is then written to a chosen address in the first 4 GiB of the bhyve process's address space. The bhyve process typically runs as root within the zone that hosts the VM. The flaw has been present since bhyve was imported (illumos-gate commit bf21cd93), and affects any illumos distribution prior to illumos-gate commit 988c96cf. | |
| Title | Unchecked guest address translation in illumos bhyve virtio allows guest to write to bhyve process memory | |
| Weaknesses | CWE-252 CWE-787 |
|
| References |
| |
| Metrics |
cvssV4_0
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: illumos
Published:
Updated: 2026-12-01T20:32:14.786Z
Reserved: 2026-11-24T16:00:40.867Z
Link: CVE-2026-136234
No data.
No data.
No data.
OpenCVE Enrichment
No data.