Re: [PATCH v2] usercopy: remove page-spanning test for now

From: Rik van Riel
Date: Wed Sep 07 2016 - 14:29:54 EST


On Wed, 2016-09-07 at 11:08 -0700, Kees Cook wrote:
> A custom allocator without __GFP_COMP that copies to userspace has
> been
> found in vmw_execbuf_process[1], so this disables the page-span
> checker
> by placing it behind a CONFIG for future work where such things can
> be
> tracked down later.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1373326
>
> Reported-by: Vinson Lee <vlee@xxxxxxxxxxxxxxx>
> Fixes: f5509cc18daa ("mm: Hardened usercopy")
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed

Attachment: signature.asc
Description: This is a digitally signed message part