[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100327.083416.183044370.davem@davemloft.net>
Date: Sat, 27 Mar 2010 08:34:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nicolas.dichtel@....6wind.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: ipmr/ip6mr: prevent out-of-bounds vif_table access
From: Nicolas Dichtel <nicolas.dichtel@....6wind.com>
Date: Fri, 26 Mar 2010 18:19:34 +0100
> When a multicast packet arrived in ip6_mr_input(), if there is no
> cache ip6mr_cache_unresolved() will be called and this function will
> add an entry with parent == 65535.
>
> And the second problem is that when a vif is removed, no cleanup is
> made in cache entry. Hence, we can have a cache entry which points to
> an invalid vif (dev is set ot NULL).
I've applied your fix, thanks Nicolas.
--
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