Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439965

Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support
Date 2016-07-09 19:10 +0200
Message-ID <rT3Vo-5Pr-9@gated-at.bofh.it> (permalink)
References (3 earlier) <rSGP9-79Y-61@gated-at.bofh.it> <rSI4x-7VV-7@gated-at.bofh.it> <rSKSJ-1jd-1@gated-at.bofh.it> <rSTMl-7yt-7@gated-at.bofh.it> <rSTMl-7yt-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jul 8, 2016 at 11:17 PM,  <Valdis.Kletnieks@vt.edu> wrote:
> Yeah, 'ping' dies with a similar traceback going to rawv6_setsockopt(),
> and 'trinity' dies a horrid death during initialization because it creates
> some sctp sockets to fool around with.  The problem in all these cases is that
> setsockopt uses copy_from_user() to pull in the option value, and the allocation
> isn't tagged with USERCOPY to whitelist it.

Just a note to clear up confusion: this series doesn't include the
whitelist protection, so this appears to be either bugs in the slub
checker or bugs in the code using the cfq_io_cq cache. I suspect the
former. :)

-Kees

-- 
Kees Cook
Chrome OS & Brillo Security

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy  support Christoph Lameter <cl@linux.com> - 2016-07-08 15:50 +0200
  Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-08 18:10 +0200
    Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy  support Christoph Lameter <cl@linux.com> - 2016-07-08 18:30 +0200
      Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-08 19:50 +0200
        Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-08 22:50 +0200
          Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Valdis.Kletnieks@vt.edu - 2016-07-09 08:20 +0200
            Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-09 19:10 +0200
          Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy  support Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-07-11 08:10 +0200

csiph-web