summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorKevin Wolf2014-03-26 13:06:05 +0100
committerStefan Hajnoczi2014-04-01 15:22:35 +0200
commitc05e4667be91b46ab42b5a11babf8e84d476cc6b (patch)
treea8cf1a43cc5b3fc6858a11bdb9bfe85c5ed26857 /linux-user
parentqcow2: Fix NULL dereference in qcow2_open() error path (CVE-2014-0146) (diff)
downloadqemu-c05e4667be91b46ab42b5a11babf8e84d476cc6b.tar.gz
qemu-c05e4667be91b46ab42b5a11babf8e84d476cc6b.tar.xz
qemu-c05e4667be91b46ab42b5a11babf8e84d476cc6b.zip
qcow2: Fix L1 allocation size in qcow2_snapshot_load_tmp() (CVE-2014-0145)
For the L1 table to loaded for an internal snapshot, the code allocated only enough memory to hold the currently active L1 table. If the snapshot's L1 table is actually larger than the current one, this leads to a buffer overflow. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions