CVE-2026-93782: vhost-scsi: flush backend after device ioctls
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
vhost-scsi: flush backend after device ioctls
vhost-scsi translates guest response descriptors into userspace iovecs when commands are submitted. Target-core completes those commands asynchronously, so VHOST_SET_MEM_TABLE can replace the memory table while an in-flight command still retains response iovecs translated through the old table.
If the old mapping is reused after VHOST_SET_MEM_TABLE returns, command completion can write the response to an unrelated userspace object.
Flush the vhost-scsi backend after vhost_dev_ioctl() handles a device ioctl. This waits for in-flight commands that can still use the old response iovecs before the ioctl returns.
The Linux kernel CVE team has assigned CVE-2026-93782 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit 981c97d09c6b9560bb12dcc41f11ce59b1a48e97 Fixed in 6.18.53 with commit 6c1b802e36b05ebd9d41686c4dce6f06966af469 Fixed in 7.2 with commit 22598f55a4c2b510b3df5e69e563387a963222ae
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93782
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/vhost/scsi.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/981c97d09c6b9560bb12dcc41f11ce59b1a48e97 https://git.kernel.org/stable/c/6c1b802e36b05ebd9d41686c4dce6f06966af469 https://git.kernel.org/stable/c/22598f55a4c2b510b3df5e69e563387a963222ae