From: Peter Zijlstra <peterz@infradead.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Prateek Sood <prsood@codeaurora.org>,
mingo@redhat.com, linux-kernel@vger.kernel.org,
sramana@codeaurora.org, Frederic Weisbecker <fweisbec@gmail.com>,
Jiri Olsa <jolsa@redhat.com>
Subject: Re: [PATCH] perf: extend total_ref_count usage to protect perf_trace_buf access
Date: Mon, 18 Mar 2019 16:15:29 +0100 [thread overview]
Message-ID: <20190318151529.GT6058@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20190318110250.7214cfa7@gandalf.local.home>
On Mon, Mar 18, 2019 at 11:02:50AM -0400, Steven Rostedt wrote:
> On Mon, 18 Mar 2019 16:17:45 +0530
> Prateek Sood <prsood@codeaurora.org> wrote:
>
> > A potential race exists between access of perf_trace_buf[i] from
> > perf_trace_buf_alloc() and perf_trace_event_unreg(). This can
> > result in perf_trace_buf[i] being NULL during access from memset()
> > in perf_trace_buf_alloc().
Can you expound?
next prev parent reply other threads:[~2019-03-18 15:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-18 10:47 [PATCH] perf: extend total_ref_count usage to protect perf_trace_buf access Prateek Sood
2019-03-18 15:02 ` Steven Rostedt
2019-03-18 15:15 ` Peter Zijlstra [this message]
2019-03-19 12:21 ` [PATCH] perf: fix use after free of perf_trace_buf Prateek Sood
2019-03-19 13:31 ` Steven Rostedt
2019-03-19 13:37 ` Jiri Olsa
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=20190318151529.GT6058@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=fweisbec@gmail.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=prsood@codeaurora.org \
--cc=rostedt@goodmis.org \
--cc=sramana@codeaurora.org \
/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.