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.37-rc1~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af54c9bd9e6f14f896aac1bb0e8405ae0bc7a44;p=pandora-kernel.git ipc: shm: fix information leak to userland 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 Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed