CVE-2026-136237

Out-of-bounds read in illumos bhyve virtio MSI-X vector handling allows guest to read beyond the MSI-X table

Published Dec 1, 2026 CVSS 4.0 · 4.8 Medium EPSS n/a KEV · Not listed
Description
An out-of-bounds read in the illumos bhyve virtio implementation allows a guest to cause the bhyve process to read heap memory beyond a device's MSI-X table. A guest assigns an MSI-X vector to a virtqueue through either the legacy or the modern virtio PCI configuration registers. The code in usr/src/cmd/bhyve/common/virtio.c stores that vector without comparing it with the size of the device's MSI-X table. For the viona network device, pci_viona_ring_set_msix() in usr/src/cmd/bhyve/common/pci_virtio_viona.c uses the vector as an index into the table. It passes the address and data of the entry at that index to the kernel as the interrupt configuration for the ring. A privileged user within a guest VM can set a queue vector beyond the end of the table. Adjacent bhyve heap memory is then used as an MSI-X table entry, and its contents are programmed as the ring's interrupt address and data. The flaw has existed since viona was integrated (illumos-gate commit b22a70ab), and affects any illumos distribution prior to illumos-gate commit b1f32943.

Analysis

No analysis available yet

Remediation

Vendor Solution

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description An out-of-bounds read in the illumos bhyve virtio implementation allows a guest to cause the bhyve process to read heap memory beyond a device's MSI-X table. A guest assigns an MSI-X vector to a virtqueue through either the legacy or the modern virtio PCI configuration registers. The code in usr/src/cmd/bhyve/common/virtio.c stores that vector without comparing it with the size of the device's MSI-X table. For the viona network device, pci_viona_ring_set_msix() in usr/src/cmd/bhyve/common/pci_virtio_viona.c uses the vector as an index into the table. It passes the address and data of the entry at that index to the kernel as the interrupt configuration for the ring. A privileged user within a guest VM can set a queue vector beyond the end of the table. Adjacent bhyve heap memory is then used as an MSI-X table entry, and its contents are programmed as the ring's interrupt address and data. The flaw has existed since viona was integrated (illumos-gate commit b22a70ab), and affects any illumos distribution prior to illumos-gate commit b1f32943.
Title Out-of-bounds read in illumos bhyve virtio MSI-X vector handling allows guest to read beyond the MSI-X table
Weaknesses CWE-125
CWE-129
References
Metrics cvssV4_0

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

Subscriptions

No data.

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-129

    Improper Validation of Array Index

Sources

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