CVE-2026-143300: vhost-scsi: validate event queue descriptor direction
In the Linux kernel, the following vulnerability has been resolved:
vhost-scsi: validate event queue descriptor direction
vhostgetvqdesc() returns the number of device readable (output) and device writable (input) iovec segments. A guest can submit an eventq descriptor chain that fills vq->iov with output segments, setting out to ARRAYSIZE(vq->iov) and in to zero.
When the host later queues a vhost-scsi event, vhostscsidoevtwork() uses out as the index of the first input segment. This accesses one element beyond vq->iov and triggers an array-index-out-of-bounds report. With paniconwarn enabled, the report panics the host.
The event queue accepts device writable buffers only. Reject chains that contain output segments or lack an input segment before using out as an index. The input check prevents the out-of-bounds access, while the output check validates the eventq descriptor direction.
I found the descriptor direction issue myself, though the patch was written with AI assistance. The out-of-bounds read with an output-only chain was separately reported by Jia Jia.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch vhost-scsi: validate event queue descriptor direction
Event History
Frequently Asked Questions
What systems are exposed to the host panic?
Hosts using vhost-scsi can be affected when a guest submits a malformed event queue descriptor chain. The described host panic occurs when panic_on_warn is enabled.
What must a guest do to trigger the issue?
The guest must submit an event queue descriptor chain composed of device-readable output segments, with no device-writable input segment. This can fill the queue iovec array and cause the host to access one element beyond it when queuing a vhost-scsi event.
How can administrators identify a possible attempted trigger?
The described behavior produces an array-index-out-of-bounds report on the host. On systems with panic_on_warn enabled, that report can instead result in a host panic.