aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorLi Qiang <liqiang6-s@360.cn>2016-08-08 18:08:31 +0530
committerJason Wang <jasowang@redhat.com>2016-08-09 15:24:56 +0800
commit6c352ca9b4ee3e1e286ea9e8434bd8e69ac7d0d8 (patch)
tree8913f14f53cb99b460745044a1ee05f2c72639af /kvm-all.c
parentead315e43ea0c2ca3491209c6c8db8ce3f2bbe05 (diff)
downloadqemu-6c352ca9b4ee3e1e286ea9e8434bd8e69ac7d0d8.zip
qemu-6c352ca9b4ee3e1e286ea9e8434bd8e69ac7d0d8.tar.gz
qemu-6c352ca9b4ee3e1e286ea9e8434bd8e69ac7d0d8.tar.bz2
net: vmxnet3: check for device_active before write
Vmxnet3 device emulator does not check if the device is active, before using it for write. It leads to a use after free issue, if the vmxnet3_io_bar0_write routine is called after the device is deactivated. Add check to avoid it. Reported-by: Li Qiang <liqiang6-s@360.cn> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Acked-by: Dmitry Fleytman <dmitry@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions