vhost-scsi: flush backend after device ioctls
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 057cbf49a1f08297877e46c82f707b1bfea806a8 · fixed in 6436411203d8c702ffc055700f1a6bde488ff681; From 057cbf49a1f08297877e46c82f707b1bfea806a8 · fixed in cec088285adcc7ae23c119b6bbdb22270dc2de8f; From 057cbf49a1f08297877e46c82f707b1bfea806a8 · fixed in e0bf6bed528693a6b32439ab122b34a34b66d96f; From 057cbf49a1f08297877e46c82f707b1bfea806a8 · fixed in be2636e1b21fe860db918152abf2932638d06ed7; From 057cbf49a1f08297877e46c82f707b1bfea806a8 · fixed in 981c97d09c6b9560bb12dcc41f11ce59b1a48e97; From 057cbf49a1f08297877e46c82f707b1bfea806a8 · fixed in 6c1b802e36b05ebd9d41686c4dce6f06966af469; From 057cbf49a1f08297877e46c82f707b1bfea806a8 · fixed in 22598f55a4c2b510b3df5e69e563387a963222ae
- Linux Linux
3.6
- KernelLinux
From 3.6.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53
References 7
git.kernel.org
- stable/c/6436411203d8c702ffc055700f1a6bde488ff681
- stable/c/cec088285adcc7ae23c119b6bbdb22270dc2de8f
- stable/c/e0bf6bed528693a6b32439ab122b34a34b66d96f
- stable/c/be2636e1b21fe860db918152abf2932638d06ed7
- stable/c/981c97d09c6b9560bb12dcc41f11ce59b1a48e97
- stable/c/6c1b802e36b05ebd9d41686c4dce6f06966af469
- stable/c/22598f55a4c2b510b3df5e69e563387a963222ae