Re: perf: use-after-free in perf_release

From: Peter Zijlstra
Date: Mon Mar 06 2017 - 07:47:46 EST


On Mon, Mar 06, 2017 at 01:27:41PM +0100, Dmitry Vyukov wrote:

> I think you will also need the attached patch. It seems that it was
> found due to it. Going to send it out soon.

Yuck, that's nasty. Although I don't see an alternative there.

You might also want to do the bitops, they suffer the same problem.