AZL-118532: CVE-2026-143300 affecting package kernel 6.6.161.1-1
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
Event History
Frequently Asked Questions
Who is exposed to this issue?
Hosts using the Linux kernel vhost-scsi event queue are exposed when a guest can submit crafted event queue descriptor chains. The guest can provide an output-only chain that fills the queue I/O vector array and leaves no input segment.
What is the practical impact of exploitation?
Processing a vhost-scsi event after the crafted chain causes an array index one element beyond vq->iov, producing an array-index-out-of-bounds report. If panic_on_warn is enabled, that report panics the host.
What descriptor chains should be rejected?
The event queue should accept only device-writable buffers. Chains containing output segments, or chains with no input segment, should be rejected before using the output count as an input-vector index.