diff options
| author | Andrew Honig <ahonig@google.com> | 2015-11-18 14:50:23 -0800 |
|---|---|---|
| committer | Jiri Slaby <jslaby@suse.cz> | 2016-04-23 09:24:44 +0200 |
| commit | e31a2100a342288b665c31af0a5f01e794866cda (patch) | |
| tree | f919ba3635ec96fdc462b61c2b943bce0a560c2f /lib/dynamic_queue_limits.c | |
| parent | 979e5410e280dee62e9942c7f5caca975815de10 (diff) | |
| download | lwn-e31a2100a342288b665c31af0a5f01e794866cda.tar.gz lwn-e31a2100a342288b665c31af0a5f01e794866cda.zip | |
KVM: x86: Reload pit counters for all channels when restoring state
commit 0185604c2d82c560dab2f2933a18f797e74ab5a8 upstream.
Currently if userspace restores the pit counters with a count of 0
on channels 1 or 2 and the guest attempts to read the count on those
channels, then KVM will perform a mod of 0 and crash. This will ensure
that 0 values are converted to 65536 as per the spec.
This is CVE-2015-7513.
Signed-off-by: Andy Honig <ahonig@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions
