CVE-2026-136236

Integer underflow in illumos bhyve virtio-blk request handling allows guest to read and write bhyve process memory

Published Dec 1, 2026 CVSS 4.0 · 8.5 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

Vendor Solution

Update to an illumos distribution release that includes the fix for illumos issue 18640.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Integer underflow in illumos bhyve virtio-blk request handling allows guest to read and write bhyve process memory
Weaknesses CWE-191
References
Metrics cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
illumos
Published
Updated
Dec 1, 2026, 9:56 PM
Reserved
Nov 24, 2026, 4:00 PM
Status
Received
Published
Dec 1, 2026, 9:16 PM
Modified
Dec 1, 2026, 10:17 PM