summaryrefslogtreecommitdiffstats
path: root/hw/pci/pci-stub.c
diff options
context:
space:
mode:
authorLi Hangjing2019-12-16 03:30:50 +0100
committerStefan Hajnoczi2019-12-19 17:20:25 +0100
commit725fe5d10dbd4259b1853b7d253cef83a3c0d22a (patch)
tree56ed8920d017771de4acea80e07f186c546ffe5e /hw/pci/pci-stub.c
parentdocs: fix rst syntax errors in unbuilt docs (diff)
downloadqemu-725fe5d10dbd4259b1853b7d253cef83a3c0d22a.tar.gz
qemu-725fe5d10dbd4259b1853b7d253cef83a3c0d22a.tar.xz
qemu-725fe5d10dbd4259b1853b7d253cef83a3c0d22a.zip
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>
Diffstat (limited to 'hw/pci/pci-stub.c')
0 files changed, 0 insertions, 0 deletions