[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160825161402.46f2ec9b@lxorguk.ukuu.org.uk>
Date: Thu, 25 Aug 2016 16:14:02 +0100
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: Lennart Sorensen <lsorense@...lub.uwaterloo.ca>,
Al Viro <viro@...IV.linux.org.uk>,
Joe Perches <joe@...ches.com>,
David Miller <davem@...emloft.net>, ben@...adent.org.uk,
luis.henriques@...onical.com, avijitnsec@...eaurora.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: CVE-2014-9900 fix is not upstream
> > I see someone did request it 2 years ago:
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63479
>
> I don't think this is sufficient. Basically if you write one field in a
> struct after a memset again, the compiler is allowed by the standard to
> write padding bytes again, causing them to be undefined.
The question is simply what gcc actually does. The rest is C language
lawyering and since the kernel isn't written to the C language spec but
to gcc only gcc matters.
Alan
Powered by blists - more mailing lists