[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200617200151.GM8681@bombadil.infradead.org>
Date: Wed, 17 Jun 2020 13:01:51 -0700
From: Matthew Wilcox <willy@...radead.org>
To: Kees Cook <keescook@...omium.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Vlastimil Babka <vbabka@...e.cz>, Roman Gushchin <guro@...com>,
Christoph Lameter <cl@...ux.com>,
Alexander Popov <alex.popov@...ux.com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>, vinmenon@...eaurora.org,
Matthew Garrett <mjg59@...gle.com>,
Jann Horn <jannh@...gle.com>,
Vijayanand Jitta <vjitta@...eaurora.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mm: Expand CONFIG_SLAB_FREELIST_HARDENED to include
SLAB and SLOB
On Wed, Jun 17, 2020 at 12:53:48PM -0700, Kees Cook wrote:
> Include SLAB and SLOB caches when performing kmem_cache pointer
... SLOB? Really? Objects from different kmem caches are mixed together
on the same page with SLOB (at least last time I looked). So how does
this work?
> verification. A defense against such corruption[1] should be applied
> to all the allocators. With this added, the "SLAB_FREE_CROSS" and
> "SLAB_FREE_PAGE" LKDTM tests now pass on SLAB:
Powered by blists - more mailing lists