vhost: ensure all range is mapped when translating QVAs
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 23 Jan 2018 18:01:45 +0000 (19:01 +0100)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 23 Apr 2018 14:04:30 +0000 (16:04 +0200)
commit30920b1e2b157328f991ac595e20dbebc31bbb89
tree0565744fed91f2884ec15ecdfbf06a9c09899ba1
parent41333fba5b98945b8051e7b48f8fe47432cdd356
vhost: ensure all range is mapped when translating QVAs

This patch ensures that all the address range is mapped when
translating addresses from master's addresses (e.g. QEMU host
addressess) to process VAs.

This issue has been assigned CVE-2018-1059.

Reported-by: Yongji Xie <xieyongji@baidu.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/vhost_user.c