diff options
| author | Michael S. Tsirkin | 2014-04-03 18:51:23 +0200 |
|---|---|---|
| committer | Juan Quintela | 2014-05-05 22:15:02 +0200 |
| commit | 3f1c49e2136fa08ab1ef3183fd55def308829584 (patch) | |
| tree | 01e28bcbada1f1a759655926234448b5c6d8d0b0 /linux-headers | |
| parent | ahci: fix buffer overrun on invalid state load (diff) | |
| download | qemu-3f1c49e2136fa08ab1ef3183fd55def308829584.tar.gz qemu-3f1c49e2136fa08ab1ef3183fd55def308829584.tar.xz qemu-3f1c49e2136fa08ab1ef3183fd55def308829584.zip | |
hpet: fix buffer overrun on invalid state load
CVE-2013-4527 hw/timer/hpet.c buffer overrun
hpet is a VARRAY with a uint8 size but static array of 32
To fix, make sure num_timers is valid using VMSTATE_VALID hook.
Reported-by: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions
