Re: NULL ptr deref in perf/filter_match

From: Vegard Nossum
Date: Tue Aug 09 2016 - 02:19:35 EST


On 8 August 2016 at 22:07, Vince Weaver <vincent.weaver@xxxxxxxxx> wrote:
> On Thu, 4 Aug 2016, Vegard Nossum wrote:
>> BTW, this seems to show up slightly more frequently although I've seen
>> it a couple of times before without your patch too so it's probably
>> unrelated:
>>
>> WARNING: CPU: 0 PID: 1244 at arch/x86/kernel/hw_breakpoint.c:121
>> arch_install_hw_breakpoint+0x284/0x2f0
>> Can't find any breakpoint slot
>
> are you using perf_fuzzer to find these bugs or some other tool?

Just using trinity + fault injection, although passing -c
perf_event_open hits it a lot faster.

> The "Can't find any breakpoint slot" warning dates back years, and there
> have been a few attempts to fix it but it's never gone away.

I'll just comment it out for now.

Thanks,


Vegard