aboutsummaryrefslogtreecommitdiff
path: root/hw/net/stellaris_enet.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-04-28 16:08:23 +0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2014-06-26 14:31:48 -0500
commit2003205fd2799fdeebe56a6c700d34555d114142 (patch)
tree3dcfffdc853fd563e13faa8110ba96f27c16f8bc /hw/net/stellaris_enet.c
parent7abee6c9883f242b680736b4d9c730b1556498e5 (diff)
virtio: validate config_len on load
Malformed input can have config_len in migration stream exceed the array size allocated on destination, the result will be heap overflow. To fix, that config_len matches on both sides. CVE-2014-0182 Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> -- v2: use %ix and %zx to print config_len values Signed-off-by: Juan Quintela <quintela@redhat.com> (cherry picked from commit a890a2f9137ac3cf5b607649e66a6f3a5512d8dc) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/net/stellaris_enet.c')
0 files changed, 0 insertions, 0 deletions