Re: [local DoS] Re: Linux 2.6.24-rc4

From: Linus Torvalds
Date: Tue Dec 04 2007 - 10:57:40 EST




On Tue, 4 Dec 2007, Luiz Fernando N. Capitulino wrote:
>
> sched_rr_get_interval(1, NULL);

Looks like we have a zero "cfs_rq->load.weight".

Ingo? Both sched_slice() and __sched_slice() do a divide by the runqueue
weight, and at least dequeue_task_fair() explicitly checks for that being
zero, so clearly zero is a possible value. Hmm?

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