8.5high
Integer underflow in illumos bhyve virtio-blk request handling allows guest to read and write bhyve process memory
- Severity
- 8.5high CVSS:4.0 by illumos
- Published
- Last changed
- Assigned by
- illumos
Description
An integer underflow in the illumos bhyve virtio-blk device model allows a guest to cause block I/O to be performed on bhyve process memory outside the guest's buffers. pci_vtblk_proc() in usr/src/cmd/bhyve/common/pci_virtio_block.c copies the request header from a descriptor chain. It then accounts for the trailing status byte by decrementing the count of bytes remaining in the chain, without first checking that any remain. For a chain with a total length equal to the size of the header, the count wraps to a very large value. The I/O vector for the request is then built from entries beyond the end of the chain, which contain stale addresses and lengths left by earlier requests. A privileged user within a guest VM can submit such a request. The block backend then reads disk contents into, or writes to the guest's disk from, bhyve process memory that the request does not describe. This may corrupt the bhyve process or disclose its memory to the guest. The flaw has existed since November 2025 (illumos-gate commit c3b97060), and affects any illumos distribution prior to illumos-gate commit d8a43cb7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| system/bhyve | from c3b97060722accbd08cd9eb3f18cc189b2c07b5e before d8a43cb707f6c53674fafbb1e61baae1660279f5 | CVE List |
| OmniOS OmniOS | from r151058 before r151058ae, from r151060 before r151060e | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-136236 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-136236 changed 2026-12-01 | Public domain |