lkml.org 
[lkml]   [2003]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: BUG: Use after free in detach_pid
    Manfred Spraul <manfred@colorfullife.com> wrote:
    >
    > You mentioned that the last detach_pid() within __unhash_process oopsed. That means the reference count of the task structure was off by one, and the
    > put_task_struct(pid->task)
    > within
    > detach_pid(p,PIDTYPE_PGID);
    > freed the task structure.
    >

    Might be related to http://bugme.osdl.org/show_bug.cgi?id=482
    in which someone did put_task_struct() on an already-freed task_struct.

    And that was a uniprocessor without pgcl gunk.

    It is not known whether preemption was enabled?

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:34    [W:0.019 / U:0.416 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site