Re: perf: fuzzer causes lockup in x86_pmu_event_init()

From: Vince Weaver
Date: Mon Mar 02 2015 - 14:09:54 EST


On Sat, 28 Feb 2015, Jiri Olsa wrote:

> hum, I dont see the locking is a problem.. but looks like once
> the sibling becomes singleton event, we dont init its sibling_list
>
> how about patch below.. compile tested ;-)

so this is instead of PeterZ's patch?

I'll start my test-machine fuzzing with this plus the infinite-interrupt
fix and see what happens. The machines do eventually trigger the issue
somwhat consistently but it can take up to a week before they hit it
so it's a tough one to test for.

Vince

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/