[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZDVUO/bg8WwnL8V+@kernel.org>
Date: Tue, 11 Apr 2023 09:36:11 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ian Rogers <irogers@...gle.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH] perf bperf: Avoid use after free via union
Em Mon, Apr 10, 2023 at 10:17:18PM -0700, Ian Rogers escreveu:
> If bperf sets leader_skel or follower_skel then it appears bpf_skel is
> set and can trigger the following use-after-free:
<SNIP>
> Resolve by clearing bpf_skel as part of bpf_counter__destroy.
> Suggested-by: Namhyung Kim <namhyung@...nel.org>
Thanks, applied.
- Arnaldo
Powered by blists - more mailing lists