In the Linux kernel, the following vulnerability has been resolved: vhost: fix dirty logging for in-order used ring entries With VIRTIO_F_IN_ORDER, one used ring element can represent multiple buffers, so vhost_add_used_n_in_order() can write consecutive elements to nonadjacent slots. Dirty logging combines the initial slot with a length based on the final position, which can miss written elements or log past the end of the ring. Replay nheads[] after the write barrier and log the written slots, coalescing adjacent elements and splitting at gaps and wraps.
https://git.kernel.org/stable/c/bfcde6b64769bc168037b8bd882de4def4b2b3f4
https://git.kernel.org/stable/c/b4087898db0c27d632414cd3270f27164715f19c
https://git.kernel.org/stable/c/5bdb6364085ca00854439fa75ff44204bd7bb537