summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorJason Wang2019-04-09 06:10:25 +0200
committerDavid S. Miller2019-04-11 07:45:38 +0200
commit813dbeb656d6c90266f251d8bd2b02d445afa63f (patch)
tree24909b6cd09af83979b11b7e7b6f5b7cc2d2ba35 /net/tipc
parentnet/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded() (diff)
downloadkernel-qcow2-linux-813dbeb656d6c90266f251d8bd2b02d445afa63f.tar.gz
kernel-qcow2-linux-813dbeb656d6c90266f251d8bd2b02d445afa63f.tar.xz
kernel-qcow2-linux-813dbeb656d6c90266f251d8bd2b02d445afa63f.zip
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>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions