1
0
Files
linux/drivers
Jason Wang d65026c6c6 vhost: validate log when IOTLB is enabled
Vq log_base is the userspace address of bitmap which has nothing to do
with IOTLB. So it needs to be validated unconditionally otherwise we
may try use 0 as log_base which may lead to pin pages that will lead
unexpected result (e.g trigger BUG_ON() in set_bit_to_user()).

Fixes: 6b1e6cc785 ("vhost: new device IOTLB API")
Reported-by: syzbot+6304bf97ef436580fede@syzkaller.appspotmail.com
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-29 16:22:47 -04:00
..
2018-03-02 10:44:44 +01:00
2018-03-23 09:50:54 +10:00
2018-03-14 15:39:33 -04:00
2018-03-21 11:10:20 +01:00
2018-03-08 10:39:58 -07:00
2018-03-12 15:11:59 +05:30
2018-01-22 16:45:26 +01:00
2018-02-28 13:48:21 +01:00
2018-01-09 16:15:20 +01:00