From: Greg KH <greg@kroah.com>
To: Kees Cook <kees.cook@canonical.com>
Cc: linux-kernel@vger.kernel.org, stable@kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Jiri Slaby <jslaby@suse.cz>, Al Viro <viro@zeniv.linux.org.uk>,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [stable] [PATCH v2] ipc: initialize structure memory to zero for shmctl
Date: Wed, 6 Oct 2010 19:55:42 -0700 [thread overview]
Message-ID: <20101007025542.GA10460@kroah.com> (raw)
In-Reply-To: <20101007021836.GA14666@outflux.net>
On Wed, Oct 06, 2010 at 07:18:36PM -0700, Kees Cook wrote:
> The old shm interface will leak a few bytes of stack contents. Explicitly
> initialize the structure to zero-fill the untouched fields, using memset
> instead of C99-style in case there are ever holes in the structure.
>
> Signed-off-by: Kees Cook <kees.cook@canonical.com>
> ---
If you wish to have a patch included in the stable series, please read
Documentation/stable_kernel_rules.txt which state that adding a:
Cc: stable <stable@kernel.org>
to the signed-off-by: area will cause it to be automagically included
when the patch gets into Linus's tree. Otherwise it just causes a lot
of extra work for me to dig around and watch out for it in the future.
thanks,
greg k-h
prev parent reply other threads:[~2010-10-07 2:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-07 2:18 [PATCH v2] ipc: initialize structure memory to zero for shmctl Kees Cook
2010-10-07 2:55 ` Greg KH [this message]
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=20101007025542.GA10460@kroah.com \
--to=greg@kroah.com \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=jslaby@suse.cz \
--cc=kees.cook@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.