summaryrefslogtreecommitdiffstats
path: root/drivers/char/viotape.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2011-01-19 12:26:11 +0100
committerIngo Molnar <mingo@elte.hu>2011-01-19 12:51:32 +0100
commit068c5cc5ac7414a8e9eb7856b4bf3cc4d4744267 (patch)
tree28a017e342dddd3ffe8e3dd3499a395aee39b796 /drivers/char/viotape.c
parentd7d8294415f0ce4254827d4a2a5ee88b00be52a8 (diff)
sched, cgroup: Use exit hook to avoid use-after-free crash
By not notifying the controller of the on-exit move back to init_css_set, we fail to move the task out of the previous cgroup's cfs_rq. This leads to an opportunity for a cgroup-destroy to come in and free the cgroup (there are no active tasks left in it after all) to which the not-quite dead task is still enqueued. Reported-by: Miklos Vajna <vmiklos@frugalware.org> Fixed-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: <stable@kernel.org> Cc: Mike Galbraith <efault@gmx.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> LKML-Reference: <1293206353.29444.205.camel@laptop>
Diffstat (limited to 'drivers/char/viotape.c')
0 files changed, 0 insertions, 0 deletions