Re: [PATCH] virtio-blk: fix out-of-bounds access to bitmap in notify_guest_bh

2019-12-19 Thread Stefan Hajnoczi
On Mon, Dec 16, 2019 at 10:30:50AM +0800, Li hangjing wrote: > From: Li Hangjing > > 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-sta.

[PATCH] virtio-blk: fix out-of-bounds access to bitmap in notify_guest_bh

2019-12-15 Thread Li hangjing
From: Li Hangjing 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-sta...@nongnu.org Cc: Stefan Hajnoczi Signed-off-by: Li Hangjing Reviewed-by: