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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
057cbf49a1f08297877e46c82f707b1bfea806a8 to < 6436411203d8c702ffc055700f1a6bde488ff681affected057cbf49a1f08297877e46c82f707b1bfea806a8 to < cec088285adcc7ae23c119b6bbdb22270dc2de8faffected057cbf49a1f08297877e46c82f707b1bfea806a8 to < e0bf6bed528693a6b32439ab122b34a34b66d96faffected057cbf49a1f08297877e46c82f707b1bfea806a8 to < be2636e1b21fe860db918152abf2932638d06ed7affected057cbf49a1f08297877e46c82f707b1bfea806a8 to < 981c97d09c6b9560bb12dcc41f11ce59b1a48e97affected057cbf49a1f08297877e46c82f707b1bfea806a8 to < 6c1b802e36b05ebd9d41686c4dce6f06966af469affected057cbf49a1f08297877e46c82f707b1bfea806a8 to < 22598f55a4c2b510b3df5e69e563387a963222aeaffected
Linux Linux
Default version status: affected
3.6affected0 to < 3.6unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6436411203d8c702ffc055700f1a6bde488ff681 ↗
- https://git.kernel.org/stable/c/cec088285adcc7ae23c119b6bbdb22270dc2de8f ↗
- https://git.kernel.org/stable/c/e0bf6bed528693a6b32439ab122b34a34b66d96f ↗
- https://git.kernel.org/stable/c/be2636e1b21fe860db918152abf2932638d06ed7 ↗
- https://git.kernel.org/stable/c/981c97d09c6b9560bb12dcc41f11ce59b1a48e97 ↗
- https://git.kernel.org/stable/c/6c1b802e36b05ebd9d41686c4dce6f06966af469 ↗
- https://git.kernel.org/stable/c/22598f55a4c2b510b3df5e69e563387a963222ae ↗