Skip to content

CVE-2026-136234 Unchecked guest address translation in illumos bhyve virtio allows guest to write to bhyve process memory

MediumCVSS 4.8 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
illumos-gate >= bf21cd9318e0a3a51b7f02c14a7c1b1aef2dc861, < 988c96cfb5311ae9ed0e0b240ad6c8bad019798c 988c96cfb5311ae9ed0e0b240ad6c8bad019798c Fixed
OmniOS >= r151026, < r151054; >= r151054, < r151054ce; >= r151056, < r151058; >= r151058, < r151058ae +1 more r151054, r151054ce, r151058, r151058ae, r151060e Fixed

Affected products

ProductAffected versionsFixed in
illumos-gate >= bf21cd9318e0a3a51b7f02c14a7c1b1aef2dc861, < 988c96cfb5311ae9ed0e0b240ad6c8bad019798c 988c96cfb5311ae9ed0e0b240ad6c8bad019798c
OmniOS >= r151026, < r151054 r151054
OmniOS >= r151054, < r151054ce r151054ce
OmniOS >= r151056, < r151058 r151058
OmniOS >= r151058, < r151058ae r151058ae
OmniOS >= r151060, < r151060e r151060e

References