Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754145AbcDFVD2 (ORCPT ); Wed, 6 Apr 2016 17:03:28 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:34543 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753426AbcDFVDY (ORCPT ); Wed, 6 Apr 2016 17:03:24 -0400 MIME-Version: 1.0 In-Reply-To: <20160406205429.GA13901@kroah.com> References: <1459971348-81477-1-git-send-email-thgarnie@google.com> <20160406205429.GA13901@kroah.com> Date: Wed, 6 Apr 2016 14:03:22 -0700 Message-ID: Subject: Re: [kernel-hardening] [RFC v1] mm: SLAB freelist randomization From: Thomas Garnier To: Greg KH Cc: kernel-hardening@lists.openwall.com, Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Greg Thelen , Kees Cook , linux-kernel@vger.kernel.org, linux-mm@kvack.org, labbott@fedoraproject.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 581 Lines: 16 Yes, sorry about that. It will be in the next RFC or PATCH. On Wed, Apr 6, 2016 at 1:54 PM, Greg KH wrote: > 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:? >