]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipc: shm: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Sat, 30 Oct 2010 14:22:49 +0000 (18:22 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 30 Oct 2010 15:25:51 +0000 (08:25 -0700)
commit3af54c9bd9e6f14f896aac1bb0e8405ae0bc7a44
tree74eb7ea6396c3ad00fce944789071ded2e0b85e8
parent504b701bb1655747575095543c083267418e02ac
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 <segooon@gmail.com>
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/shm.c