Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 28 Jan 2019 20:08:23 +0000
From: Christopher Lameter <>
To: Kees Cook <>
cc: Andrew Morton <>, 
    Matthew Wilcox <>, Linux-MM <>, 
    LKML <>, Rik van Riel <>, 
    Pekka Enberg <>, David Rientjes <>, 
    Joonsoo Kim <>, 
    Kernel Hardening <>, 
    Michael Ellerman <>
Subject: Re: [PATCH] mm: Prevent mapping slab pages to userspace

On Tue, 29 Jan 2019, Kees Cook wrote:

> It seems like a fatal condition to me? There's nothing to check that
> such a page wouldn't get freed by the slab while still mapped to
> userspace, right?

Lets just fail the code.  Currently this may work with SLUB. But SLAB and
SLOB overlay fields with mapcount. So you would have a corrupted page
struct if you mapped a slab page to user space.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.