On 2020-11-03 12:39:01 [+0100], Oleg Nesterov wrote: > The commit 6362e6476cd7 ("ptrace: fix ptrace vs tasklist_lock race") > changed ptrace_freeze_traced() to take task->saved_state into account, > but ptrace_unfreeze_traced() has the same problem and needs a similar > fix: it should check/update both ->state and ->saved_state. > > Reported-by: Luis Claudio R. Goncalves <lgoncalv@xxxxxxxxxx> > Fixes: 6362e6476cd7 ("ptrace: fix ptrace vs tasklist_lock race") > Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Applied, thank you. Sebastian