Re: kernel NULL pointer dereference in check_spread+0x0/0x26

From: Mike Galbraith
Date: Fri Oct 12 2007 - 23:37:16 EST


On Fri, 2007-10-12 at 14:40 +0200, Jan Blunck wrote:
> This is with 2.6.23-mm1 and allmodconfig.
>
> Seems that se in the following is a NULL pointer.
>
> 453 static void check_spread(struct cfs_rq *cfs_rq, struct
> sched_entity *se)
> 454 {
> 455 #ifdef CONFIG_SCHED_DEBUG
> 456 s64 d = se->vruntime - cfs_rq->min_vruntime;
> 457
> 458 if (d < 0)
> 459 d = -d;

I hit this once yesterday (in sched-devel), and again first boot this
morning.

-Mike

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