On Fri, Aug 02, 2019 at 11:39:57AM +0200, Greg Kroah-Hartman wrote: > From: Jann Horn <[email protected]> > > commit cb361d8cdef69990f6b4504dc1fd9a594d983c97 upstream. > > The old code used RCU annotations and accessors inconsistently for > ->numa_group, which can lead to use-after-frees and NULL dereferences. > > Let all accesses to ->numa_group use proper RCU helpers to prevent such > issues. > > Signed-off-by: Jann Horn <[email protected]> > Signed-off-by: Peter Zijlstra (Intel) <[email protected]> > Cc: Linus Torvalds <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: Petr Mladek <[email protected]> > Cc: Sergey Senozhatsky <[email protected]> > Cc: Thomas Gleixner <[email protected]> > Cc: Will Deacon <[email protected]> > Fixes: 8c8a743c5087 ("sched/numa: Use {cpu, pid} to create task groups for > shared faults") > Link: https://lkml.kernel.org/r/[email protected] > Signed-off-by: Ingo Molnar <[email protected]> > Signed-off-by: Greg Kroah-Hartman <[email protected]>
Oops, nope, this didn't apply, sorry about that, it needs to be properly backported to 4.14.y and older before it can go here. thanks, greg k-h

