Re: NULL pointer dereference when loading the gre module(3.10.0-rc4)

From: David Miller
Date: Thu Jun 13 2013 - 06:01:35 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Thu, 06 Jun 2013 20:59:48 -0700

> On Thu, 2013-06-06 at 23:06 -0400, Steven Rostedt wrote:
>> On Fri, Jun 07, 2013 at 12:16:56AM +0200, Steinar H. Gunderson wrote:
>> > Hi,
>> >
>> > In 3.10.0-rc4, I get this on boot:
>> >
>> > [ 16.871043] BUG: unable to handle kernel NULL pointer dereference at 0000000000000003
>> > [ 16.879453] IP: [<ffffffffa0e52002>] 0xffffffffa0e52001
>>
>> Strange, kallsyms should have registered the address already, even if it
>> crashed on early module load. Not sure why it's not reporting it. Well,
>> it seems to have reported some of the symbols of ip_gre below. Maybe
>> this pointer is just totally screwed up.
>
> I could not reproduce this here.
>
> Steinar, please make sure you recompiled your modules, because this
> looks like you loaded old modules.

I applied Eric's fixed version of the patch, thanks.
--
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/