Linux
vhost-scsi: flush backend after device ioctls
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 057cbf49a1f08297877e46c82f707b1bfea806a8, < 6436411203d8c702ffc055700f1a6bde488ff681
- >= 057cbf49a1f08297877e46c82f707b1bfea806a8, < cec088285adcc7ae23c119b6bbdb22270dc2de8f
- >= 057cbf49a1f08297877e46c82f707b1bfea806a8, < e0bf6bed528693a6b32439ab122b34a34b66d96f
- >= 057cbf49a1f08297877e46c82f707b1bfea806a8, < be2636e1b21fe860db918152abf2932638d06ed7
- >= 057cbf49a1f08297877e46c82f707b1bfea806a8, < 981c97d09c6b9560bb12dcc41f11ce59b1a48e97
- >= 057cbf49a1f08297877e46c82f707b1bfea806a8, < 6c1b802e36b05ebd9d41686c4dce6f06966af469
- >= 057cbf49a1f08297877e46c82f707b1bfea806a8, < 22598f55a4c2b510b3df5e69e563387a963222ae
Fixed in 6436411203d8c702ffc055700f1a6bde488ff681, cec088285adcc7ae23c119b6bbdb22270dc2de8f, e0bf6bed528693a6b32439ab122b34a34b66d96f, be2636e1b21fe860db918152abf2932638d06ed7, 981c97d09c6b9560bb12dcc41f11ce59b1a48e97, 6c1b802e36b05ebd9d41686c4dce6f06966af469, 22598f55a4c2b510b3df5e69e563387a963222ae
- 3.6
Fixed in 0, 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2
Mitigation
Upgrade Linux to 6436411203d8c702ffc055700f1a6bde488ff681 or cec088285adcc7ae23c119b6bbdb22270dc2de8f or e0bf6bed528693a6b32439ab122b34a34b66d96f or be2636e1b21fe860db918152abf2932638d06ed7 or 981c97d09c6b9560bb12dcc41f11ce59b1a48e97 or 6c1b802e36b05ebd9d41686c4dce6f06966af469 or 22598f55a4c2b510b3df5e69e563387a963222ae or later.
Upgrade Linux to 0 or 5.10.271 or 5.15.222 or 6.1.189 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.