Re: [PATCH v2] kernel: release ptraced tasks before zap_pid_ns_processes

From: Oleg Nesterov
Date: Fri Jan 11 2019 - 10:39:20 EST


On 01/10, Andrew Morton wrote:
>
> > Fixes: 7c8bd2322c7f ("exit: ptrace: shift "reap dead" code from exit_ptrace() to forget_original_parent()")
> >
> > Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
> > Signed-off-by: Andrei Vagin <avagin@xxxxxxxxx>
>
> Does this warrant a -stable backport? 7c8bd2322c7f was 4+ years ago...

Agreed, the problem is trivially reproducible.

Oleg.