[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100607.025829.186328961.davem@davemloft.net>
Date: Mon, 07 Jun 2010 02:58:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: akpm@...ux-foundation.org, netdev@...r.kernel.org,
bugzilla-daemon@...zilla.kernel.org,
bugme-daemon@...zilla.kernel.org, alex.vizor@...il.com,
kaber@...sh.net
Subject: Re: [Bugme-new] [Bug 16120] New: Oops: 0000 [#1] SMP, unable to
handle kernel NULL pointer dereference at (null)
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 07 Jun 2010 11:48:40 +0200
> [PATCH net-2.6] ipmr: dont corrupt lists
>
> ipmr_rules_exit() and ip6mr_rules_exit() free a list of items, but
> forget to properly remove these items from list. List head is not
> changed and still points to freed memory.
>
> This can trigger a fault later when icmpv6_sk_exit() is called.
>
> Fix is to either reinit list, or use list_del() to properly remove items
> from list before freeing them.
>
> bugzilla report : https://bugzilla.kernel.org/show_bug.cgi?id=16120
>
> Introduced by commit d1db275dd3f6e4 (ipv6: ip6mr: support multiple
> tables) and commit f0ad0860d01e (ipv4: ipmr: support multiple tables)
>
> Reported-by: Alex Zhavnerchik <alex.vizor@...il.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: Patrick McHardy <kaber@...sh.net>
Applied, thanks a lot Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists