Re: BUG: wait_task_zombie NULL dereference

From: Eric W. Biederman
Date: Tue Dec 04 2012 - 14:20:23 EST


"Bill Huey (hui)" <bill.huey@xxxxxxxxx> writes:

> I should add that I encountered this on 3.6.0 with some mild
> modifications to the scheduler path that enqueue/dequeue a task before
> any of the schedule exit logic gets hit. The SCHED_FF/FIFO rebalancer
> does much the same so I can't imagine that being the source of the
> problem.
>
> I could be wrong however.

In 3.6 from_kuid_munged should be only be expanded to the inline noop
version.

The code you quote does not exist in kernel/exit.c in wait_task_zombie
and has not existed in wait_task_zombie in Linus's tree. So since I
can't see the code I can't help.

I suspect the bug relates to your local modifications.

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