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

From: Oleg Nesterov
Date: Mon Nov 14 2016 - 13:46:02 EST


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(-)