summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorDmitry Fleytman2014-04-04 11:45:21 +0200
committerPeter Maydell2014-04-14 12:50:49 +0200
commit3c99afc779c2c78718a565ad8c5e98de7c2c7484 (patch)
tree463cfa4a0e0385615c07dfccf7fe84f55b9d0b1b /hw
parentvmxnet3: validate queues configuration coming from guest (diff)
downloadqemu-3c99afc779c2c78718a565ad8c5e98de7c2c7484.tar.gz
qemu-3c99afc779c2c78718a565ad8c5e98de7c2c7484.tar.xz
qemu-3c99afc779c2c78718a565ad8c5e98de7c2c7484.zip
vmxnet3: validate interrupt indices read on migration
CVE-2013-4544 Signed-off-by: Dmitry Fleytman <dmitry@daynix.com> Reported-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-id: 1396604722-11902-4-git-send-email-dmitry@daynix.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/net/vmxnet3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
index 4fefc7bb49..a0723c057d 100644
--- a/hw/net/vmxnet3.c
+++ b/hw/net/vmxnet3.c
@@ -2391,6 +2391,8 @@ static int vmxnet3_post_load(void *opaque, int version_id)
}
}
+ vmxnet3_validate_interrupts(s);
+
return 0;
}