[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190115031235.GA6416@1wt.eu>
Date: Tue, 15 Jan 2019 04:12:35 +0100
From: Willy Tarreau <w@....eu>
To: Kees Cook <keescook@...omium.org>
Cc: Silvio Cesare <silvio.cesare@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
Will Deacon <will.deacon@....com>, Greg KH <greg@...ah.com>
Subject: Re: [PATCH 1/8] lkdtm: change snprintf to scnprintf for possible
overflow
Hi Kees,
On Mon, Jan 14, 2019 at 05:02:51PM -0800, Kees Cook wrote:
> On Sat, Jan 12, 2019 at 7:28 AM Willy Tarreau <w@....eu> wrote:
> >
> > From: Silvio Cesare <silvio.cesare@...il.com>
> >
> > Change snprintf to scnprintf. There are generally two cases where using
> > snprintf causes problems.
>
> (I didn't find a 0/8 cover letter, so I'm replying here...)
I didn't add one simply because I didn't have more context info than
the one already present in each of these commits (which were all the
same by the way). These ones were first reported by Silvio on the
security list on November 23rd and came to a stall by lack of proper
Cc and subject lines. So I've ran get_maintainers.pl + git log to
adjust all this and sent them with the available context.
> Many of these fixes are just robustness updates (e.g. the lkdtm case
> below is not current a problem: the size of the static array getting
> displayed is less than PAGE_SIZE). It might be worth noting which are
> actually problems (and include the appropriate Cc: and Fixes: lines).
>From what I remember from the thread, these are small bugs causing some
memory disclosure when used with debugfs. I've just found the featured
article :
http://blog.infosectcbr.com.au/2018/11/memory-bugs-in-multiple-linux-kernel.html
> Are these changes going into someone's single tree, or are they
> intended for individual maintainers to pick up?
The goal was to let the maintainers decide based on the commit message.
That's why it's always better when the reporter sends the information
by himself rather than relying on some third party to polish things up
and forward :-/
Cheers,
Willy
Powered by blists - more mailing lists