[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110920.151030.1978268649603302576.davem@davemloft.net>
Date: Tue, 20 Sep 2011 15:10:30 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: rongqing.li@...driver.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, stable@...nel.org
Subject: Re: [PATCH net-next] ipv6: fix a possible double free
From: <rongqing.li@...driver.com>
Date: Tue, 20 Sep 2011 13:52:16 +0800
> From: Roy.Li <rongqing.li@...driver.com>
>
> When calling snmp6_alloc_dev fails, the snmp6 relevant memory
> are freed by snmp6_alloc_dev. Calling in6_dev_finish_destroy
> will free these memory twice.
>
> Double free will lead that undefined behavior occurs.
>
> Signed-off-by: Roy.Li <rongqing.li@...driver.com>
> Acked-by: Eric Dumazet <eric.dumazet@...il.com>
Applied and queued up for -stable, thanks.
--
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