From: Jeff Law <law@redhat.com>
To: Kees Cook <keescook@google.com>
Cc: "kernel-hardening@lists.openwall.com"
<kernel-hardening@lists.openwall.com>,
Richard Henderson <rth@redhat.com>,
PaX Team <pageexec@freemail.hu>
Subject: [kernel-hardening] Re: GCC upstream contacts for Linux kernel bugs
Date: Fri, 20 Nov 2015 10:18:33 -0700 [thread overview]
Message-ID: <564F55E9.2030007@redhat.com> (raw)
In-Reply-To: <CAGXu5jLWnfR_a_VR_bq+vpA5NXCLafuFP-9AEVGGjr7pBpZ4XA@mail.gmail.com>
On 11/19/2015 11:12 AM, Kees Cook wrote:
> I remember one more that breaks the kernel's ability to do
> compile-time evaluation of target sizes, which is a useful
> vulnerability mitigation. CONFIG_DEBUG_STRICT_USER_COPY_CHECKS isn't
> useful any more since it was forced to be disabled in
> https://git.kernel.org/linus/2fb0815c9ee6
>
> original: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48880
> duped to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639
Yea, I'm already familiar with these. 46639 gets evaluated each release
cycle as its a regression.
Essentially function splitting is setting up a situation where things
necessary to determine a compile-time constant are in two different places.
The specific case in 46639 should be solved with the ability to run a
minimal jump threading pass early in the optimizer pipeline. To do
that we need to detangle jump threading from vrp & the dominator optimizer.
The main infrastructure for that work landed a couple weeks ago. It's
not clear yet if the remainder of the work will slip in during the
bugfixing phase or have to wait for gcc7. It will largely depend on how
much additional work needs to occur. I don't think it's too bad, but
I've mostly been focused on getting the infrastructure bits in place,
rather than exploiting them at this phase.
jeff
prev parent reply other threads:[~2015-11-20 17:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGXu5jLE7ADT90-o-6xRA+1NGXtF3fuPnEcY2Qh6MQxaiWrHWw@mail.gmail.com>
[not found] ` <56463FE5.1050500@redhat.com>
[not found] ` <CAGXu5jLi=YsZNO4osWjqrJ_jLE3AQMmEKDGBCAJD7svn69Afew@mail.gmail.com>
2015-11-18 23:07 ` [kernel-hardening] Re: GCC upstream contacts for Linux kernel bugs Jeff Law
2015-11-19 18:12 ` Kees Cook
2015-11-20 17:18 ` Jeff Law [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=564F55E9.2030007@redhat.com \
--to=law@redhat.com \
--cc=keescook@google.com \
--cc=kernel-hardening@lists.openwall.com \
--cc=pageexec@freemail.hu \
--cc=rth@redhat.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 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.