diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-07-28 18:26:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-28 18:26:32 -0700 |
commit | 9e8f90dfe58eb19140bc66655170c7aef9eadbf2 (patch) | |
tree | ebb225345da45a1bdc2384367122aba97f11b308 /net/netfilter | |
parent | 177c27bf05d0ea508e65afdbe4b6998c81e46af5 (diff) | |
download | linux-9e8f90dfe58eb19140bc66655170c7aef9eadbf2.tar.bz2 |
proc_fork_connector: a lockless ->real_parent usage is not safe
proc_fork_connector() uses ->real_parent lockless. This is not safe if
copy_process() was called with CLONE_THREAD or CLONE_PARENT, in this case
the parent != current can go away at any moment.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Vladimir Zapolskiy <vzapolskiy@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions