]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: fix page struct leak in handle_vmon
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Jan 2017 10:56:21 +0000 (11:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Feb 2017 16:54:43 +0000 (17:54 +0100)
commit06ce521af9558814b8606c0476c54497cf83a653
tree263e0f11e633e424641bedb4ad3713b6d59609cc
parenta26d553400b30b6e0389f5c723c0fc6f7ea473da
kvm: fix page struct leak in handle_vmon

handle_vmon gets a reference on VMXON region page,
but does not release it. Release the reference.

Found by syzkaller; based on a patch by Dmitry.

Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c