Re: BUG: bad usercopy in memdup_user

From: Kees Cook
Date: Tue Dec 19 2017 - 16:55:03 EST


On Tue, Dec 19, 2017 at 1:36 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> In this case, there's obviously no permission issue: it's an error
> report. So it's either "remove it, or switch to %px".

Yup, my intention was to kill this %p and enhance the report to
actually include the useful information like, "what is the offset from
the start of the object", etc. That's what really matters.

-Kees

--
Kees Cook
Pixel Security