Re: [Devel] [PATCH -mm] utrace: fix double free re __rcu_process_callbacks()

From: Alexey Dobriyan
Date: Tue Apr 24 2007 - 06:33:13 EST


On Tue, Apr 24, 2007 at 01:10:23PM +0400, Alexey Dobriyan wrote:
> ¹ But I see whole can of other bugs! I think they were already lurking
> but weren't easily reproducable without hitting double-free first.
> FWIW, it's
> BUG_ON(!list_empty(&tsk->ptracees));

mmm, pretty easily reproduced with:

while true; do
killall -9 expl_ptratt 2>/dev/null;
killall -9 exe 2>/dev/null;
sleep 2;
done
vs
while true; do ./expl_ptratt; done

-
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/