Re: NULL ptr deref in perf/filter_match

From: Vince Weaver
Date: Mon Aug 08 2016 - 16:07:18 EST


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?

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.

Vince