From: David Miller <davem@davemloft.net>
To: mkubecek@suse.cz
Cc: steffen.klassert@secunet.com, herbert@gondor.apana.org.au,
netdev@vger.kernel.org
Subject: Re: [PATCH net] xfrm: fix freed block size calculation in xfrm_policy_fini()
Date: Fri, 18 Jan 2013 14:43:15 -0500 (EST) [thread overview]
Message-ID: <20130118.144315.1258314605128988201.davem@davemloft.net> (raw)
In-Reply-To: <20130118153446.3AE05C1AFE@unicorn.suse.cz>
From: Michal Kubecek <mkubecek@suse.cz>
Date: Fri, 18 Jan 2013 16:03:48 +0100
> 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@suse.cz>
I'll let Steffen pick this one up.
next prev parent reply other threads:[~2013-01-18 19:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 15:03 [PATCH net] xfrm: fix freed block size calculation in xfrm_policy_fini() Michal Kubecek
2013-01-18 19:43 ` David Miller [this message]
2013-01-21 12:02 ` Steffen Klassert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130118.144315.1258314605128988201.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
--cc=steffen.klassert@secunet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).