kernel_optimize_test/drivers/vhost
Jason Wang 813dbeb656 vhost: reject zero size iova range
We used to accept zero size iova range which will lead a infinite loop
in translate_desc(). Fixing this by failing the request in this case.

Reported-by: syzbot+d21e6e297322a900c128@syzkaller.appspotmail.com
Fixes: 6b1e6cc7 ("vhost: new device IOTLB API")
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>
2019-04-10 22:45:38 -07:00
..
Kconfig
Kconfig.vringh
Makefile
net.c vhost: fix OOB in get_rx_bufs() 2019-01-28 22:53:09 -08:00
scsi.c SCSI misc on 20190306 2019-03-09 16:53:47 -08:00
test.c
test.h
vhost.c vhost: reject zero size iova range 2019-04-10 22:45:38 -07:00
vhost.h vhost: fix OOB in get_rx_bufs() 2019-01-28 22:53:09 -08:00
vringh.c
vsock.c vhost: fix OOB in get_rx_bufs() 2019-01-28 22:53:09 -08:00