Re: [PATCH 0/2] (Was: perf_event_mmap(vma) && !vma->vm_mm)

From: Oleg Nesterov
Date: Wed Oct 16 2013 - 17:02:39 EST


On 10/16, Peter Zijlstra wrote:
>
> On Wed, Oct 16, 2013 at 10:43:48PM +0200, Oleg Nesterov wrote:
> > Yes, we can copy the garbage to the userspace. So what? This should not
> > matter at all. Exactly because userspace should never used the data after
> > the end of string, no?
>
> Security people tell me to _never_ leak anything. I'm not near creative
> enough to exploit such a thing; but I am amazed at the techniques I do
> read about at times. So its really a better safe than sorry thing.

OK.

Still we can cleanup/simplify this. see the next email...

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/