Files
linux/drivers/vhost
Jason Wang 9476add03c vhost: reject zero size iova range
[ Upstream commit 813dbeb656 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 12:23:27 +09:00
..
2016-08-02 16:54:28 +03:00
2016-08-02 16:54:28 +03:00
2016-08-02 02:57:30 +03:00
2023-05-15 11:09:53 +09:00
2016-09-05 08:04:07 +02:00
2010-12-09 16:00:21 +02:00
2023-05-15 12:23:27 +09:00
2023-05-15 11:09:53 +09:00
2014-12-15 23:49:28 +02:00