Re: [PATCH] KERNEL: resource: Fix bug on leakage in /proc/iomem file

From: Linus Torvalds
Date: Wed Apr 06 2016 - 17:32:36 EST


On Wed, Apr 6, 2016 at 2:27 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> Hrm, okay. I still think just changing the perms would be less
> troublesome.

No, that would be much *more* trouble-some, because we have things
like bug-reporting documentation that tells people to send /proc/iomem
etc information on crashes. There may well be scripts like that out
there.

So it's much more likely that just removing the "Kernel code" etc
lines is not going to break anything.

Linus