All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Dmitry Vyukov <dvyukov@google.com>
Cc: Ingo Molnar <mingo@redhat.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	LKML <linux-kernel@vger.kernel.org>,
	syzkaller <syzkaller@googlegroups.com>
Subject: Re: perf: use-after-free in perf_event_for_each
Date: Tue, 24 Jan 2017 14:49:18 +0100	[thread overview]
Message-ID: <20170124134918.GL6500@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <CACT4Y+aGMyGtVs3x6Ua-njb4q4CxVdiy+zVAQa_hQa1JX+gLPg@mail.gmail.com>

On Tue, Jan 24, 2017 at 02:29:19PM +0100, Dmitry Vyukov wrote:
> 
> Try to run more parallel processes at the same time.
> This program will run 32 processes in a tight loop:
> https://gist.githubusercontent.com/dvyukov/b36aa4398bb016923278fccdd1cc5b45/raw/9607078fd5ac2daf769c13d82561a83e17b06032/gistfile1.txt
> It triggered the UAF in several minutes for me. I have 4 CPUs in the
> VM. If you have more, set number of processes to 8*CPU.

No VM here, I'll up to 320 processes.

  reply	other threads:[~2017-01-24 13:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23 13:30 perf: use-after-free in perf_event_for_each Dmitry Vyukov
2017-01-23 17:04 ` Peter Zijlstra
2017-01-24 13:17   ` Peter Zijlstra
2017-01-24 13:29     ` Dmitry Vyukov
2017-01-24 13:49       ` Peter Zijlstra [this message]
2017-01-26 15:39 ` Peter Zijlstra
2017-01-27  9:08   ` Dmitry Vyukov
2017-01-27 13:02   ` Alexander Shishkin
2017-01-30 11:52   ` [tip:perf/core] perf/core: Fix use-after-free bug tip-bot for Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170124134918.GL6500@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=acme@kernel.org \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=dvyukov@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=syzkaller@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.