{"id":"CVE-2026-143300","summary":"vhost-scsi: validate event queue descriptor direction","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost-scsi: validate event queue descriptor direction\n\nvhost_get_vq_desc() returns the number of device readable (output) and\ndevice writable (input) iovec segments. A guest can submit an eventq\ndescriptor chain that fills vq-\u003eiov with output segments, setting out\nto ARRAY_SIZE(vq-\u003eiov) and in to zero.\n\nWhen the host later queues a vhost-scsi event, vhost_scsi_do_evt_work()\nuses out as the index of the first input segment. This accesses one element\nbeyond vq-\u003eiov and triggers an array-index-out-of-bounds report. With\npanic_on_warn enabled, the report panics the host.\n\nThe event queue accepts device writable buffers only. Reject chains that\ncontain output segments or lack an input segment before using out as an\nindex. The input check prevents the out-of-bounds access, while the output\ncheck validates the eventq descriptor direction.\n\nI found the descriptor direction issue myself, though the patch was\nwritten with AI assistance.  The out-of-bounds read with an\noutput-only chain was separately reported by Jia Jia.","modified":"2026-12-03T11:01:49.737496554Z","published":"2026-12-03T09:21:32.399Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143300.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1191c7e6589536e4a87d6a20d292f947625da69f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b5fe4af3f29146eec764f5c40175056d69f8bbd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a716b417e2efc761fe3d3bce846b73a849d0624"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d8c5b714c186d08c8fe8c8cfd1f9b89525ab067"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60d68a71b95b86c68b52a6eb2cabd9cf946160a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae92ca09a20cde6404c231d9790c3db8a5d4b7cb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143300.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143300"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a6c9af87363c5e964d981fe0ec4aa73061a0c793"},{"fixed":"2a716b417e2efc761fe3d3bce846b73a849d0624"},{"fixed":"1191c7e6589536e4a87d6a20d292f947625da69f"},{"fixed":"60d68a71b95b86c68b52a6eb2cabd9cf946160a7"},{"fixed":"ae92ca09a20cde6404c231d9790c3db8a5d4b7cb"},{"fixed":"1b5fe4af3f29146eec764f5c40175056d69f8bbd"},{"fixed":"3d8c5b714c186d08c8fe8c8cfd1f9b89525ab067"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143300.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10.0"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143300.json"}}],"schema_version":"1.9.2"}