]> 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>
Wed, 5 Oct 2011 00:43:53 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Oct 2011 06:00:07 +0000 (17:00 +1100)
commitbac2b5540ed5ba8baa89942fcbe08770774e39e9
tree6d45e0218a81ddde03ea2780d35df25cbf85eae0
parent06595f57ecdf56decc2aed6b7cc866a359f9a353
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