lkml.org 
[lkml]   [2010]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] sched, cgroup: Use exit hook to avoid use-after-free crash
    > Subject: 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.
    >
    > Cc: stable@kernel.org
    > Reported-by: Miklos Vajna <vmiklos@frugalware.org>
    > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    > ---
    > kernel/sched.c | 10 ++++++++++
    > 1 files changed, 10 insertions(+), 0 deletions(-)

    Thanks! :)

    Reported-and-tested-by: Miklos Vajna <vmiklos@frugalware.org>
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2010-12-24 17:43    [W:3.376 / U:0.524 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site