In the Linux kernel, the following vulnerability has been resolved: virtio: synchronize callbacks after device reset virtio_reset_device says: Note: this guarantees that vq callbacks are not in progress but in practice, only virtio pci correctly synchronizes the cbs. On other transports, a callback that is already executing, keeps running while the driver tears down the state it uses. Add virtio_synchronize_cbs to virtio_reset_device fixing this for all transports that correctly implement synchronize_cbs().
https://git.kernel.org/stable/c/dde3bc90920fc6a91236b5e5650fe060d0ba4dac
https://git.kernel.org/stable/c/dd75508e6fe77116589c49658d0d18897688dc0b
https://git.kernel.org/stable/c/b14d8009ec7cded10a619fc728fd44317e2cb271
https://git.kernel.org/stable/c/77e38b314700799aa65a0dbb61eb7bcd506cfc1b
https://git.kernel.org/stable/c/14d2501b5d0dadf826772cdbadf3edc752706b5f
https://git.kernel.org/stable/c/098ef0ee55ebfef467d2a20fdc835e90c36d6e5c