diff options
author | Vasiliy Kulikov <segooon@gmail.com> | 2010-10-30 22:54:47 +0400 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-11-05 14:42:27 -0200 |
commit | 97e69aa62f8b5d338d6cff49be09e37cc1262838 (patch) | |
tree | b16e0b5d64322f1e0d6ff6de7bbf11609fb09785 /fs/ubifs/debug.c | |
parent | d8cdddcd645766cd4d80fa222226ae6ebfb706af (diff) | |
download | op-kernel-dev-97e69aa62f8b5d338d6cff49be09e37cc1262838.zip op-kernel-dev-97e69aa62f8b5d338d6cff49be09e37cc1262838.tar.gz |
KVM: x86: fix information leak to userland
Structures kvm_vcpu_events, kvm_debugregs, kvm_pit_state2 and
kvm_clock_data are copied to userland with some padding and reserved
fields unitialized. It leads to leaking of contents of kernel stack
memory. We have to initialize them to zero.
In patch v1 Jan Kiszka suggested to fill reserved fields with zeros
instead of memset'ting the whole struct. It makes sense as these
fields are explicitly marked as padding. No more fields need zeroing.
KVM-Stable-Tag.
Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'fs/ubifs/debug.c')
0 files changed, 0 insertions, 0 deletions