From: Greg KH <gregkh@linuxfoundation.org>
To: kernel-hardening@lists.openwall.com
Cc: Christoph Lameter <cl@linux.com>,
Pekka Enberg <penberg@kernel.org>,
David Rientjes <rientjes@google.com>,
Joonsoo Kim <iamjoonsoo.kim@lge.com>,
Andrew Morton <akpm@linux-foundation.org>,
gthelen@google.com, keescook@chromium.org,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
labbott@fedoraproject.org, Thomas Garnier <thgarnie@google.com>
Subject: Re: [kernel-hardening] [RFC v1] mm: SLAB freelist randomization
Date: Wed, 6 Apr 2016 13:54:29 -0700 [thread overview]
Message-ID: <20160406205429.GA13901@kroah.com> (raw)
In-Reply-To: <1459971348-81477-1-git-send-email-thgarnie@google.com>
On Wed, Apr 06, 2016 at 12:35:48PM -0700, Thomas Garnier wrote:
> Provide an optional config (CONFIG_FREELIST_RANDOM) to randomize the
> SLAB freelist. This security feature reduces the predictability of
> the kernel slab allocator against heap overflows.
>
> Randomized lists are pre-computed using a Fisher-Yates shuffle and
> re-used on slab creation for performance.
> ---
> Based on next-20160405
> ---
No signed-off-by:?
WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <gregkh@linuxfoundation.org>
To: kernel-hardening@lists.openwall.com
Cc: Christoph Lameter <cl@linux.com>,
Pekka Enberg <penberg@kernel.org>,
David Rientjes <rientjes@google.com>,
Joonsoo Kim <iamjoonsoo.kim@lge.com>,
Andrew Morton <akpm@linux-foundation.org>,
gthelen@google.com, keescook@chromium.org,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
labbott@fedoraproject.org, Thomas Garnier <thgarnie@google.com>
Subject: Re: [kernel-hardening] [RFC v1] mm: SLAB freelist randomization
Date: Wed, 6 Apr 2016 13:54:29 -0700 [thread overview]
Message-ID: <20160406205429.GA13901@kroah.com> (raw)
In-Reply-To: <1459971348-81477-1-git-send-email-thgarnie@google.com>
On Wed, Apr 06, 2016 at 12:35:48PM -0700, Thomas Garnier wrote:
> Provide an optional config (CONFIG_FREELIST_RANDOM) to randomize the
> SLAB freelist. This security feature reduces the predictability of
> the kernel slab allocator against heap overflows.
>
> Randomized lists are pre-computed using a Fisher-Yates shuffle and
> re-used on slab creation for performance.
> ---
> Based on next-20160405
> ---
No signed-off-by:?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2016-04-06 20:54 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-06 19:35 [kernel-hardening] [RFC v1] mm: SLAB freelist randomization Thomas Garnier
2016-04-06 19:35 ` Thomas Garnier
2016-04-06 19:35 ` Thomas Garnier
2016-04-06 20:54 ` Greg KH [this message]
2016-04-06 20:54 ` [kernel-hardening] " Greg KH
2016-04-06 21:03 ` Thomas Garnier
2016-04-06 21:03 ` Thomas Garnier
2016-04-06 21:45 ` [kernel-hardening] " Kees Cook
2016-04-06 21:45 ` Kees Cook
2016-04-06 21:45 ` Kees Cook
2016-04-07 15:28 ` [kernel-hardening] " Thomas Garnier
2016-04-07 15:28 ` Thomas Garnier
2016-04-07 15:28 ` Thomas Garnier
2016-04-07 16:17 ` [kernel-hardening] " Yves-Alexis Perez
2016-04-07 16:35 ` Thomas Garnier
2016-04-07 16:35 ` Thomas Garnier
2016-04-07 21:14 ` Jesper Dangaard Brouer
2016-04-07 21:14 ` Jesper Dangaard Brouer
2016-04-07 21:14 ` Jesper Dangaard Brouer
2016-04-08 2:31 ` [kernel-hardening] " Kees Cook
2016-04-08 2:31 ` Kees Cook
2016-04-08 2:31 ` Kees Cook
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=20160406205429.GA13901@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=gthelen@google.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=keescook@chromium.org \
--cc=kernel-hardening@lists.openwall.com \
--cc=labbott@fedoraproject.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=thgarnie@google.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.