[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130121120231.GA9147@secunet.com>
Date: Mon, 21 Jan 2013 13:02:31 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Michal Kubecek <mkubecek@...e.cz>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net] xfrm: fix freed block size calculation in
xfrm_policy_fini()
On Fri, Jan 18, 2013 at 04:03:48PM +0100, Michal Kubecek wrote:
> Missing multiplication of block size by sizeof(struct hlist_head)
> can cause xfrm_hash_free() to be called with wrong second argument
> so that kfree() is called on a block allocated with vzalloc() or
> __get_free_pages() or free_pages() is called with wrong order when
> a namespace with enough policies is removed.
>
> Bug introduced by commit a35f6c5d, i.e. versions >= 2.6.29 are
> affected.
>
> Signed-off-by: Michal Kubecek <mkubecek@...e.cz>
Applied, 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