Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: fix missing check on virtqueue access
[ upstream commit 094c442cdbf1da3a19ae82ca7069fee8b3a43343 ] Acquiring the access lock is not enough to ensure virtqueue's metadata such as vring pointers are valid. The access status must also be checked. Fixes: 4e0de8d ("vhost: protect vring access done by application") Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: David Marchand <david.marchand@redhat.com>
- Loading branch information