[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130518.125745.1801641505342864639.davem@davemloft.net>
Date: Sat, 18 May 2013 12:57:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: herbert@...dor.apana.org.au, netdev@...r.kernel.org,
yoshfuji@...ux-ipv6.org, ncardwell@...gle.com
Subject: Re: [PATCH net-next] ipv6: use ipv6_dup_options() from
ip6_append_data()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 17 May 2013 07:53:13 -0700
> [PATCH] ipv6: fix possible crashes in ip6_cork_release()
>
> commit 0178b695fd6b4 ("ipv6: Copy cork options in ip6_append_data")
> added some code duplication and bad error recovery, leading to potential
> crash in ip6_cork_release() as kfree() could be called with garbage.
>
> use kzalloc() to make sure this wont happen.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.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