lkml.org 
[lkml]   [2013]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: OOPS in perf_mmap_close()
On Tue, 28 May 2013, Vince Weaver wrote:

> It looks like this is already in tip, but I can confirm that this
> patch seems to fix things on my machine and holds up against longer
> fuzzing runs.

OK, I take it back. Even with the new patch applied, my fuzzer can still
make the kernel leak user->locked_vm

I assume that the locked_vm value should go back to 0 once a process that
has a bunch of mmap'd perf_events opened exits?

I admit this is sort of an obscure corner case, but it does mean that a
user can leak user->locked_vm to the point that "perf record" no longer
works.

Vince


\
 
 \ /
  Last update: 2013-05-28 21:01    [W:0.182 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site