Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3909836imu; Tue, 18 Dec 2018 06:14:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/WYuT1Tsf7yVF9ChiNoNnNfsOUo4VPUVfoGBBsv655VuHQfJJeouOMJENTF5NkXrV5IkpW7 X-Received: by 2002:a63:f515:: with SMTP id w21mr15852511pgh.220.1545142478782; Tue, 18 Dec 2018 06:14:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545142478; cv=none; d=google.com; s=arc-20160816; b=X2OSiBERmdIrwieGt1zUqULLOdfwEgfDlSfFgw+oH4aDmOzAVUjA+H+NqSrtOSHyXR dwh0StTN0dWwqWX7/QKaoczLopcECsvECWl2dv6sVu8Yd7FA7hMZuN87akddIZvFbaJd 0l5eCrpCm9CAUc1ViND6w2NLNwN2Y6QWLg7hEuMVO9p2/+090k7or7cbNN3lrF760L3f l/+k8+ikpkLvXwRt1pjUrFfqV46GbLbLZK9fn8pk5I7eLonrwK+p3N+hSGdAjaa0ACAk OI2b7AUl9hSJxHfToMQe4SKb5Vc9u7EfGjkYBsGsRjl5GTeUnRh4BfXZTBuIdxPq0rCa ck2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=x7xeUjMardKr4R+A90g62j5iRKPRAwSAuBMPL+7+U/I=; b=LR4irthxfcl4Tm9xe5wQS5cqEkzU7NsxX3Vjm+zb1QozVa/svsN+lclswFUZ94VQ2C EuzjbWBUwCcg2pB220KyRvGRoiDiOp7lpc0bkbh6sTBzOaLczyTvZRtMHTRaMjjOku0h L7SxjJ25lhcHplnyWgUusLyWRuhOBCLb7czSM+v905fJi4TzpchgCd1s45TNBGG/m02L PSMT1SlvHxPiOrk57akWoDD1tFL1l7MFOKIvVcrQVT0h+kJQmQhuJvmdgSr41ByOF4RC aJA60NJSGwC87DLqT7uxn76oiFCiLcQA5RZBXallKP/ALbUdLfHr/OGpZCFy3suP43XK ck2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si13877001plo.102.2018.12.18.06.14.21; Tue, 18 Dec 2018 06:14:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbeLRONI (ORCPT + 99 others); Tue, 18 Dec 2018 09:13:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45350 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726616AbeLRONI (ORCPT ); Tue, 18 Dec 2018 09:13:08 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C4DD4C049E12; Tue, 18 Dec 2018 14:13:07 +0000 (UTC) Received: from localhost (ovpn-200-20.brq.redhat.com [10.40.200.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D38EC10595B1; Tue, 18 Dec 2018 14:13:03 +0000 (UTC) Date: Tue, 18 Dec 2018 15:12:58 +0100 From: Stefano Brivio To: Dmitry Vyukov Cc: Eric Dumazet , Arjan van de Ven , "Paul E. McKenney" , Andrew Morton , Josh Triplett , LKML , Ingo Molnar , syzkaller-bugs , netdev , Cong Wang , Xin Long Subject: Re: WARNING in __rcu_read_unlock Message-ID: <20181218151258.38796e76@redhat.com> In-Reply-To: References: <0000000000005e47a2057d0edc49@google.com> <20181216190412.GE4170@linux.ibm.com> <20181217112916.GG4170@linux.ibm.com> <1583d5fc-34bf-3a81-363d-01a1085a7363@linux.intel.com> <20641819-e4fb-f3bd-34c8-c68106cccd0e@gmail.com> <20181217162421.6d636ee5@redhat.com> <20181218001828.49cea463@redhat.com> <20181218134024.45d2d5e3@redhat.com> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 18 Dec 2018 14:13:08 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Dropping syzbot from Cc:] On Tue, 18 Dec 2018 14:26:00 +0100 Dmitry Vyukov wrote: > On Tue, Dec 18, 2018 at 1:40 PM Stefano Brivio > wrote: > > > Maybe it would be nice to have a semi-automated way to isolate and > > describe/name specific conditions found by syzbot via fuzzing and > > turn those into tests that are then repeated periodically. I'm not > > sure how that would look like, but I think it's still more > > maintainable than a pile of C reproducers with forged packets in > > selftests/net. > > It would be nice to do something like this. Filed > https://github.com/google/syzkaller/issues/884 > However, there are few open questions that I am not sure how to > resolve yet... I don't have a github account, so let me comment on your questions here: > 1. How to effectively fetch so many repros from datastore without > hitting timeouts? We probably need to limit this to 1 repro per bug, > but still that's many repros. I guess this would be less of a problem if reproducers are selected based on input from developers, instead of just taking all the reproducers. E.g. one could answer a report with something like: #syz regression-test: in this case I would have answered: #syz regression-test: icmp-udp-in-gue-recursion ICMP exceptions on UDP direct encapsulation in GUE and something could be automatically appended to the test name, perhaps e-mail and date. It would also be nice to be able to undo this and delete a regression test. > 2. Do we need some sorting based on namespace? E.g. stable releases > may not include fixes for bugs fixed in upstream, then we will just > crash lots of kernels in vain. Same here, I guess developer input might help, but I'm not sure how to formalise this. > 3. syzkaller repros depend on exact syzkaller revision, new syzkaller > won't be able to use old repros. Using C repros is much harder and > they are not present for all bugs. Not sure what to do here. Would it make a difference if you could use the "syz" reproducers and translate them to C reproducer only once needed? -- Stefano