Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1733997ybl; Thu, 9 Jan 2020 00:21:29 -0800 (PST) X-Google-Smtp-Source: APXvYqybYZsTozjpYj/wTR0sneWAMI0eKlQY7zMuB7ryAG1OPdQ1ZBotdrVP/lyAFu4KTeDAiiHh X-Received: by 2002:a05:6808:683:: with SMTP id k3mr2114613oig.50.1578558089690; Thu, 09 Jan 2020 00:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578558089; cv=none; d=google.com; s=arc-20160816; b=OpfJ5hElyKw8363UeJDmKE6+NLmt8A++baJLXrck+/px4PoelwbpZM0UQyAqR9ZG6K q3i1aiPCc6PVrvLKSTTicwDWi23N/czBOPpkuICGfyg/iG+X+xJSAhHFP6VKX5D+KaqF q9tS0PZ+M+Y/SdAbRm3cGECNGUpP4krGN1q/seIrQoNiiT8DoErxUJ+78Y5W4rd/6iW5 tr5Cwdf50bhaucG6w3u2/5XW/phC2Wp9BhLBEmhcjY1889AiGdGmiVYmswCiCr0kO6E9 Q/wyb+/Whpeqv4Y/1N903SHx5nUc5v6oyH+JjCc+Krx+wCNGPaYCg2/Pw9WmvnGhnMS5 VC2A== 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=nntsi3ZIZ4YTnCqpslNwLZBauzhg9rC3/Kr5lCbJGLM=; b=q8E9nPyF5CeUG6Aar7RcLaLEKggVAcN/YO6uO+XKqpzLwHe+lAoaFjRcM/5Vr+mHQY hnE/XNci5H2JQUkXvWaqWjTUKXNkLGYv7a1x+5ZY4haJwtf7TnZmVWa0O0MYmCaO8rEX DDnhDgJz+0TPFYQfBPJ1F1Np11vWE9eSb4Jo46miX1JEIme3UhpS5jGUXq5C4MKMiZ+g DD9GtcVleEPCdLcaMRZ1n2HgErYZTPZWtc3qPUp+djMS5vSpzTmHShCywY7XiJj4/fwi yIALjXy+Z0sfoAgjWpkRsDySiF6/yVh/VddcQyVExItcg2UEHdSH0dAsD2Mf71HR2/eh pRLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KdgOUrwo; 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 i6si3469795oth.182.2020.01.09.00.21.17; Thu, 09 Jan 2020 00:21:29 -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=KdgOUrwo; 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 S1728382AbgAIIUM (ORCPT + 99 others); Thu, 9 Jan 2020 03:20:12 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35584 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728331AbgAIIUM (ORCPT ); Thu, 9 Jan 2020 03:20:12 -0500 Received: by mail-qk1-f194.google.com with SMTP id z76so5238855qka.2 for ; Thu, 09 Jan 2020 00:20:11 -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=nntsi3ZIZ4YTnCqpslNwLZBauzhg9rC3/Kr5lCbJGLM=; b=KdgOUrwoRKlKyIE48pG0Q85YWMdko0UhJ3v9AUQZA+pZbJDrWSoKhtRH/VQ9ciedjL ILNhwIl8z1+CRUhbtdsD6Do8LlF3d2HyXjIR0IF8tWIuUDas3ywLzAtctwmz+vrh78Z2 FPzdEctv1OfekncziNGDIdVn5fe2oFpxWSMrtOqccbbFaAYCZ6XLAYGuLRXZN8aW4cpk XMzQbpcGJKn6i2oA+l8xMxM50n9QE6GfR0AOnhfT956t/iBKJuXwuGDqhdo7ON9BU1Xp holnkaReSd5if7w+vcnpx9ouY8BKQ3dkX1V2wj9babO1CPJxkDRNdu/5bcnPe7IObTpp npxw== 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=nntsi3ZIZ4YTnCqpslNwLZBauzhg9rC3/Kr5lCbJGLM=; b=EiSJMwP9J8cpd/1gBrEhkv3zmOkns3oBecVkR6kzk0lKNaZKpab7oK4NDF+EjCPlS4 AsKdJ7qZ4oEL4r9L6ZqHyxLtTVDsLK+mF1QvXwljGWhxVAyT9JhLiypKYJYE7tDy3tv0 K6aMtALR48QFpg3tGLSRh1PjQGyHSKaSOTLTJwhG1nXuN0hUEkdcc+D/S90WsZwugMih dje9Nn0WaSm+jj2xkCUJv4K7u08gUmiYGVHFi1MAOV/v8+cC5AtsMyJhBnnXCiu+mtYa C3RVdKfeBBQflsiTZaOzS1RM60+kgjpuqWwV4XLzJatowNZPvgiMauuDARVI+/3E+Q9E u38Q== X-Gm-Message-State: APjAAAX0Q62xFYmEK4VsuukEiXY2fYSkwgchk5E30z7WCmd68F0e0izB 3oNrY+FJrYYLbu84wsuKYOlRUlz+O6LOH8+2BANrsA== X-Received: by 2002:a37:e312:: with SMTP id y18mr8541800qki.250.1578558008734; Thu, 09 Jan 2020 00:20:08 -0800 (PST) MIME-Version: 1.0 References: <00000000000036decf0598c8762e@google.com> <87a787ekd0.fsf@dja-thinkpad.axtens.net> <87h81zax74.fsf@dja-thinkpad.axtens.net> <0b60c93e-a967-ecac-07e7-67aea1a0208e@I-love.SAKURA.ne.jp> <6d009462-74d9-96e9-ab3f-396842a58011@schaufler-ca.com> In-Reply-To: <6d009462-74d9-96e9-ab3f-396842a58011@schaufler-ca.com> From: Dmitry Vyukov Date: Thu, 9 Jan 2020 09:19:57 +0100 Message-ID: Subject: Re: INFO: rcu detected stall in sys_kill To: Casey Schaufler Cc: Tetsuo Handa , syzbot , kasan-dev , Andrew Morton , LKML , syzkaller-bugs 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 Wed, Jan 8, 2020 at 6:19 PM Casey Schaufler wrote: > > On 1/8/2020 2:25 AM, Tetsuo Handa wrote: > > On 2020/01/08 15:20, Dmitry Vyukov wrote: > >> I temporarily re-enabled smack instance and it produced another 50 > >> stalls all over the kernel, and now keeps spewing a dozen every hour. > > Do I have to be using clang to test this? I'm setting up to work on this, > and don't want to waste time using my current tool chain if the problem > is clang specific. Humm, interesting. Initially I was going to say that most likely it's not clang-related. Bug smack instance is actually the only one that uses clang as well (except for KMSAN of course). So maybe it's indeed clang-related rather than smack-related. Let me try to build a kernel with clang. > > Since we can get stall reports rather easily, can we try modifying > > kernel command line (e.g. lsm=smack) and/or kernel config (e.g. no kasan) ? > > > >> I've mailed 3 new samples, you can see them here: > >> https://syzkaller.appspot.com/bug?extid=de8d933e7d153aa0c1bb > >> > >> The config is provided, command line args are here: > >> https://github.com/google/syzkaller/blob/master/dashboard/config/upstream-smack.cmdline > >> Some non-default sysctls that syzbot sets are here: > >> https://github.com/google/syzkaller/blob/master/dashboard/config/upstream.sysctl > >> Image can be downloaded from here: > >> https://github.com/google/syzkaller/blob/master/docs/syzbot.md#crash-does-not-reproduce > >> syzbot uses GCE VMs with 2 CPUs and 7.5GB memory, but this does not > >> look to be virtualization-related (?) so probably should reproduce in > >> qemu too. > > Is it possible to add instance for linux-next.git that uses these configs? > > If yes, we could try adding some debug printk() under CONFIG_DEBUG_AID_FOR_SYZBOT=y .