cvelo
P4 · InfoEPSS 0.2%

vhost-scsi: validate event queue descriptor direction

  • CVE-2026-143300
  • GHSA-6ghm-fqg5-gj9v
  • EUVD-2026-142950

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    3.10none stated
    before 3.10: not affectednone stated
    from 5.10.276 up to 5.10.*: not affectednone stated
    from 5.15.227 up to 5.15.*: not affectednone stated
    from 6.12.120 up to 6.12.*: not affectednone stated
    from 6.18.66 up to 6.18.*: not affectednone stated
    from 7.3.7 up to 7.3.*: not affectednone stated
    from 7.4-rc2 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.