CVE-2026-143300
Description
In the Linux kernel, the following vulnerability has been resolved:
vhost-scsi: validate event queue descriptor direction
vhost_get_vq_desc() 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 ARRAY_SIZE(vq->iov) and in to zero.
When the host later queues a vhost-scsi event, vhost_scsi_do_evt_work() 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 panic_on_warn 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 products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/1191c7e6589536e4a87d6a20d292f947625da69fnvd
- git.kernel.org/stable/c/1b5fe4af3f29146eec764f5c40175056d69f8bbdnvd
- git.kernel.org/stable/c/2a716b417e2efc761fe3d3bce846b73a849d0624nvd
- git.kernel.org/stable/c/3d8c5b714c186d08c8fe8c8cfd1f9b89525ab067nvd
- git.kernel.org/stable/c/60d68a71b95b86c68b52a6eb2cabd9cf946160a7nvd
- git.kernel.org/stable/c/ae92ca09a20cde6404c231d9790c3db8a5d4b7cbnvd
News mentions
0No linked articles in our index yet.