Files
Linux/kernel/sched
Peter Zijlstra b1e8206582 sched: Fix yet more sched_fork() races
Where commit 4ef0c5c6b5 ("kernel/sched: Fix sched_fork() access an
invalid sched_task_group") fixed a fork race vs cgroup, it opened up a
race vs syscalls by not placing the task on the runqueue before it
gets exposed through the pidhash.

Commit 13765de814 ("sched/fair: Fix fault in reweight_entity") is
trying to fix a single instance of this, instead fix the whole class
of issues, effectively reverting this commit.

Fixes: 4ef0c5c6b5 ("kernel/sched: Fix sched_fork() access an invalid sched_task_group")
Reported-by: Linus Torvalds <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Tadeusz Struk <[email protected]>
Tested-by: Zhang Qiao <[email protected]>
Tested-by: Dietmar Eggemann <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
2022-02-19 11:11:05 +01:00
..
2021-03-22 00:11:52 +01:00
2022-02-19 11:11:05 +01:00
…
2021-03-22 00:11:52 +01:00
2020-10-29 11:00:30 +01:00
2021-11-17 14:49:00 +01:00
2022-01-18 12:09:59 +01:00
2021-10-05 15:52:12 +02:00
2021-03-22 00:11:52 +01:00
…
…
2021-12-09 10:49:56 -08:00