]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc-fix-races-against-execve-of-proc-pid-fd-fix
authorVasiliy Kulikov <segooon@gmail.com>
Mon, 24 Oct 2011 15:00:04 +0000 (02:00 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 08:41:44 +0000 (19:41 +1100)
commit6d0531a810d906fc7fa2c1bb32d7808e8fb7e503
tree985247767d93bdee3411ca80cd32d41386f27e47
parent09d5286a0821d710f9170240494a4bc48c6f79e9
proc-fix-races-against-execve-of-proc-pid-fd-fix

In the patch "proc: fix races against execve() of /proc/PID/fd**"
proc_pid_fd_link_getattr() leaked task_struct if ptrace check fails.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Reported-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/base.c