KVM: PPC: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Sat, 30 Oct 2010 09:04:24 +0000 (13:04 +0400)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 5 Nov 2010 16:42:26 +0000 (14:42 -0200)
commitd8cdddcd645766cd4d80fa222226ae6ebfb706af
tree5f439c89be44bf2bcccdb745a5c37824d5a1ee67
parenteb45fda45f915c7ca3e81e005e853cb770da2642
KVM: PPC: fix information leak to userland

Structure kvm_ppc_pvinfo is copied to userland with flags and
pad fields unitialized.  It leads to leaking of contents of
kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/powerpc/kvm/powerpc.c