[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=whjyOuO-xwov7UWidBOkWyZv84TVA18hBb01V-hiML+yg@mail.gmail.com>
Date: Sun, 8 Nov 2020 11:19:14 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Eddy Wu <itseddy0402@...il.com>
Cc: Oleg Nesterov <oleg@...hat.com>,
Security Officers <security@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
eddy_wu@...ndmicro.com
Subject: Re: [PATCH] fork: fix copy_process(CLONE_PARENT) race with the
exiting ->real_parent
On Fri, Nov 6, 2020 at 10:47 PM Eddy Wu <itseddy0402@...il.com> wrote:
>
> current->group_leader->exit_signal may change during copy_process() if
> current->real_parent exits, move the assignment inside tasklist_lock to avoid
> the race.
Applied. Thanks,
Linus
Powered by blists - more mailing lists