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

From: Eric Dumazet
Date: Fri Jun 07 2013 - 09:40:47 EST

On Fri, 2013-06-07 at 10:54 +0200, Steinar H. Gunderson wrote:
> On Thu, Jun 06, 2013 at 11:06:48PM -0400, Steven Rostedt wrote:
> > Note the faulting address is 0xffffffffa0e52001, which is around the
> > above address, be interesting to know what was at that location.
> Doh, I looked at the wrong place in kallsyms:
> ffffffffa0e52000 u ip_tunnel_init_net [ip_gre]
> ffffffffa0e55000 t gre_err [gre]
> ffffffffa0e5503d t gre_gso_send_check [gre]
> ffffffffa0e55053 t gre_rcv [gre]
> So it's really ip_tunnel_init_net+1.
> /* Steinar */

" u " for ip_tunnel_init_net ?

Looks like someone forgot taking refcounts on a module ...

CC Pravin B Shelar, as this probably comes from commit
("GRE: Refactor GRE tunneling code.")

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at