Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4160905imu; Tue, 18 Dec 2018 10:00:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vg7i8yuP+iotTqAi53thB6Dl3FzvaI5g/sG41t20VxfhHRxFDKimwR6AlTg2tD7WED+CvZ X-Received: by 2002:a17:902:2867:: with SMTP id e94mr17478278plb.264.1545156033678; Tue, 18 Dec 2018 10:00:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545156033; cv=none; d=google.com; s=arc-20160816; b=uGod7QDezE0MHkM5QKb7/xBMA9tGK8SKHe9/JeTcLrYaAsvMJH7rlA/AYmDgwnyuN3 L+kxzurJkTtsKmSPR46NO19QDmNS+ysnLUP0ncnDdoix2t1ocRpbJZztsmA/Xr8BcqXJ A3czQOZc1YSA5eRy98w0NPfl8X4hnk1kqe9Ykh5/SNQHKuqBv4hy3bt1AvSRow36hLTA AY63dvlwIlYir4QpZOeAmX0uIJIEBG/Zw7NGYlRRhatncmeC1JEocaxbPax929kEbj2+ Pqm+rk/AxuNHnWjGNcI3pUXE7RbsDySvZLSr35gqe+qP6GGDRbuO91VDwrJMXKMecLkR dQSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=JJMuV+zTvqeTiG5UA7asEisktBNEsYb7OVHXNP2wv4U=; b=G27BiphK7BKcP71tPe7A/LghGPUSKVPSUNEgQzmRRDvptoUvA9UEov0epoqbZbonKW XRHEfDGZsABuWdhQpWIHjAjmFkx3oPk8lHLgmOTLdqB5Z58Vpgw9E8voLJRMpA30R77e pVwTsZ3HfNEAw/BzYw9sj86GMgAE2rUSgiMeXobB19vdo+uXa7+AmaVAmv6ZbrVIlZbL pRa1bA3l7zPEEdefS4SxwGX5OxNPDv8W8xZhEmXjO3wb6kRvox5Z4GznkhWFwHrGc4L/ 3847VUJvKvcymtOHntxkRPp0KYwGzWHyZW1RgsiVyaNhiMOG25YFC10rCz1Sx34unlbq iaBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=u4qUOw6j; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si13195309plq.371.2018.12.18.10.00.17; Tue, 18 Dec 2018 10:00:33 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=u4qUOw6j; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727110AbeLRQFz (ORCPT + 99 others); Tue, 18 Dec 2018 11:05:55 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:35582 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726706AbeLRQFy (ORCPT ); Tue, 18 Dec 2018 11:05:54 -0500 Received: by mail-io1-f68.google.com with SMTP id o13so13178857ioh.2 for ; Tue, 18 Dec 2018 08:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JJMuV+zTvqeTiG5UA7asEisktBNEsYb7OVHXNP2wv4U=; b=u4qUOw6jVPqLveMmHc3iCkUD6KNx6BraEeaAVIFuhegRaNiiJ8CXdTm+GTBRbf+sVK DNfPXfD2SJr6X83hT8Oo5sT5n14oi38f/hk0+BnfY/sOdq+h2p4KHhAy/mcFhJb+pIhR pve6w7z9t4S4J5QWRifynuSBCqlpGH2TFk2HFrFqdnuBTW/Z5dEILJfLG08F4/rHcC2P pmJNhirclWgu7Hqqvy6yjY72WDJs7VTyJasFIFx9SOWTa4A6MA8jnJyUabf6M9v/3WBi kDg/1dc6kykV7seOsItR/6lAPmBiMiqbtPSytbmTrtA1cuGMN+UFy5sBBoi5/5UdNRwg 4G4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JJMuV+zTvqeTiG5UA7asEisktBNEsYb7OVHXNP2wv4U=; b=WeZwQPlz97oOMvMstdnfPOChJFMXKRgHojueyrKPGwxOidXwG5moGrQd1MC8rga2PY l9b9bCAL8nmGzkLjnZQVtYh9bwvpiuXKkFhjKYbu8DCEaC7BHWqn+cT/Q/speQi1sqd8 /UsaNvJ1Ku2zRikAFkXAe/yPfjhFe+f+AGYnrl/sGjzcggjjFuWaezLLjT/7iRfN8IvT dVEiruC7wfqciHVKy6ibI33S5+2/U6IcknOIQHAp0Rx1787eOaDlO9X4u4nxO8z6YKqJ hAP813+T2uDehwcmpAB2//3fMaOSDZT5q1y7np8l8KdxR2Z+0y6j/lXrgqU8RrE3+NIo jN6w== X-Gm-Message-State: AA+aEWavAtExnrF9goGbOMQj0H5sa9WgrFZAjjpfl0XyC3q4FBbjsHof GzHqZXZDUZMheI0G2hkRsspgS5sCb81xG0Nyug7u3w== X-Received: by 2002:a5d:8491:: with SMTP id t17mr14853510iom.11.1545149153235; Tue, 18 Dec 2018 08:05:53 -0800 (PST) MIME-Version: 1.0 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> <20181218151258.38796e76@redhat.com> In-Reply-To: <20181218151258.38796e76@redhat.com> From: Dmitry Vyukov Date: Tue, 18 Dec 2018 17:05:41 +0100 Message-ID: Subject: Re: WARNING in __rcu_read_unlock To: Stefano Brivio Cc: Eric Dumazet , Arjan van de Ven , "Paul E. McKenney" , Andrew Morton , Josh Triplett , LKML , Ingo Molnar , syzkaller-bugs , netdev , Cong Wang , Xin Long Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 18, 2018 at 3:13 PM Stefano Brivio wrote: > > [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. I hope we can solve these technical problems without imposing more work onto humans. And just run all repros. Besides the fact that it's just not good to ask people to do what machines can do, _very_ few people will use these new tags. Potentially we will have just this repro marked by you :) > > 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? That's the problem. Once we need them we will need to build and copy to the target machine the exact syzkaller revision used to produce that repro. So if we will test 10K repros, we will need 10K builds and binaries copied.