From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Kees Cook <keescook@chromium.org>
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH] staging: r8821ae: avoid leaking format string
Date: Thu, 10 Jul 2014 13:38:25 -0700 [thread overview]
Message-ID: <20140710203825.GA31985@kroah.com> (raw)
In-Reply-To: <20140710201611.GA31972@www.outflux.net>
On Thu, Jul 10, 2014 at 01:16:11PM -0700, Kees Cook wrote:
> This make sure a format string cannot leak into the work queue name nor
> the printk buffer.
>
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
> This is the third time this set of macros has entered the kernel:
>
> drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.h
> drivers/staging/rtl8192ee/btcoexist/halbtcoutsrc.h
> drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.h
>
> Can we extract these macros to some common place and keep them from returning?
I wish. These are all from the same company. Each new version of their
hardware consists of a whole dump of a wireless stack. People are
working on addressing this issue, by writing "real" drivers for the
hardware, and working with the company to not keep doing this. But odds
are, I'll get a new driver for the next chip from them that does the
same thing :(
thanks for the patch, I'll queue it up.
greg k-h
prev parent reply other threads:[~2014-07-10 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-10 20:16 [PATCH] staging: r8821ae: avoid leaking format string Kees Cook
2014-07-10 20:38 ` Greg Kroah-Hartman [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=20140710203825.GA31985@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=devel@driverdev.osuosl.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linville@tuxdriver.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