Skip to content

sched/autogroup: use-after-free fixes

Oleg Nesterov lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched/autogroup: autogroup_move_group() must never skip sched_move_task()kernel/sched/auto_group.c+12 -110 replies
2/2sched/autogroup: a zombie thread must not use autogroup->tginclude/linux/sched.h kernel/exit.c kernel/sched/auto_group.c+22 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] sched/autogroup: use-after-free fixes

Two simple fixes for -stable.

Note that this logic was wrong from the very beginning and even if sysctl doesn't change, see 2/2.

And I think it needs some cleanups in any case, but lets do later/separately.

Please review,

Oleg.

 include/linux/sched.h     |  2 ++
 kernel/exit.c             |  1 +
 kernel/sched/auto_group.c | 36 ++++++++++++++++++++++++++++--------
 3 files changed, 31 insertions(+), 8 deletions(-)