Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755490AbbFSTZT (ORCPT ); Fri, 19 Jun 2015 15:25:19 -0400 Received: from mail-qk0-f173.google.com ([209.85.220.173]:35544 "EHLO mail-qk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753706AbbFSTZQ (ORCPT ); Fri, 19 Jun 2015 15:25:16 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Fri, 19 Jun 2015 15:31:09 -0400 (EDT) To: Vince Weaver cc: Steven Rostedt , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo Subject: Re: perf/ftrace: fuzzer triggers another warning with PERF_EVENT_IOC_SET_FILTER In-Reply-To: Message-ID: References: <20150618132533.47ddf3eb@gandalf.local.home> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 789 Lines: 22 On Fri, 19 Jun 2015, Vince Weaver wrote: > > OK, fuzzing found another test case, this one I can reproduce using perf: and I'm wrong, I wasn't reproducing it with perf, I was looking at the wrong window :( So weird, definitely I can trigger this warning, but it's not reproducible with the fuzzer or with manually trying things. I'm not really sure how that can happen. Is it possible that two processes might try to update the preds linked-list for an event's filter simultaneously? So this might be a hard-to-trigger race condition? But I don't think the fuzzer actually ever has two threads trying to do ioctl at the same time. hmmm. Vince -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/