From: Vasiliy Kulikov Date: Sat, 30 Oct 2010 14:22:49 +0000 (+0400) Subject: ipc: shm: fix information leak to userland X-Git-Tag: v2.6.27.57~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77f5c399311bd4a6d8836dbd788dd0e45a582d15;p=pandora-kernel.git ipc: shm: fix information leak to userland commit 3af54c9bd9e6f14f896aac1bb0e8405ae0bc7a44 upstream. The shmid_ds structure is copied to userland with shm_unused{,2,3} fields unitialized. It leads to leaking of contents of kernel stack memory. Signed-off-by: Vasiliy Kulikov Acked-by: Al Viro Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed