Li Hangjing 725fe5d10d virtio-blk: fix out-of-bounds access to bitmap in notify_guest_bh
When the number of a virtio-blk device's virtqueues is larger than
BITS_PER_LONG, the out-of-bounds access to bitmap[ ] will occur.

Fixes: e21737ab15 ("virtio-blk: multiqueue batch notify")
Cc: qemu-stable@nongnu.org
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Li Hangjing <lihangjing@baidu.com>
Reviewed-by: Xie Yongji <xieyongji@baidu.com>
Reviewed-by: Chai Wen <chaiwen@baidu.com>
Message-id: 20191216023050.48620-1-lihangjing@baidu.com
Message-Id: <20191216023050.48620-1-lihangjing@baidu.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2019-12-19 16:20:25 +00:00
..
2019-11-23 15:51:48 +01:00
2019-12-17 09:01:14 +01:00
2019-12-16 13:04:46 +01:00
2019-12-16 13:04:46 +01:00
2019-12-16 10:46:34 +00:00
2019-12-14 10:25:50 +01:00
2019-12-17 10:39:48 +11:00
2019-12-16 13:16:15 +01:00
2019-12-16 14:07:56 +00:00
2019-12-17 10:59:11 +11:00
2019-12-14 10:22:38 +01:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00