drm: vmwgfx: fix information leak to userland
authorKulikov Vasiliy <segooon@gmail.com>
Sat, 6 Nov 2010 14:41:16 +0000 (14:41 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Nov 2010 03:42:15 +0000 (13:42 +1000)
commitdccb2a952b1f0b51978fcb3f9899c7f46ffd4b28
treeafa1f5821dcd4e1ca2035a0fdc374bfa1ecd45cb
parentec3789ccccc4ded3b136ea93dec94b764b014525
drm: vmwgfx: fix information leak to userland

Structure drm_vmw_fence_rep is copied to userland with field "pad64"
uninitialized.  It leads to leaking of contents of kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c