diff options
| author | 2017-05-10 22:43:17 +0300 | |
|---|---|---|
| committer | 2017-05-15 16:08:56 +0200 | |
| commit | 4769886baf39b6a307eb8f9e39848823ca6c5939 (patch) | |
| tree | 874f4adce443e6db0abd48b469cbb91398e57d87 /include/linux/debugobjects.h | |
| parent | Merge branch 'kvm-ppc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc (diff) | |
kvm: nVMX: off by one in vmx_write_pml_buffer()
There are PML_ENTITY_NUM elements in the pml_address[] array so the >
should be >= or we write beyond the end of the array when we do:
pml_address[vmcs12->guest_pml_index--] = gpa;
Fixes: c5f983f6e845 ("nVMX: Implement emulated Page Modification Logging")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
