From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D92CC433DB for ; Thu, 25 Mar 2021 19:08:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AC0CC61A25 for ; Thu, 25 Mar 2021 19:08:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC0CC61A25 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 285B46B006E; Thu, 25 Mar 2021 15:08:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 25B3E6B0070; Thu, 25 Mar 2021 15:08:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0B1CF6B0071; Thu, 25 Mar 2021 15:08:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0122.hostedemail.com [216.40.44.122]) by kanga.kvack.org (Postfix) with ESMTP id E01836B006E for ; Thu, 25 Mar 2021 15:08:31 -0400 (EDT) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id A3C7F18015400 for ; Thu, 25 Mar 2021 19:08:31 +0000 (UTC) X-FDA: 77959332822.25.CDB572F Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by imf24.hostedemail.com (Postfix) with ESMTP id 21E7BA000248 for ; Thu, 25 Mar 2021 19:08:29 +0000 (UTC) Received: by mail-qt1-f180.google.com with SMTP id h7so2516406qtx.3 for ; Thu, 25 Mar 2021 12:08:30 -0700 (PDT) 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=Ec1Ghl9v284qk873U/eSrLFZcLMUlWNcyoNkEFduibA=; b=fCmE3fKr0IxsO0fFE/zbqm+hoLZo9f4CwoKJXF0MBbJ6PUi/JsRvdW45djbihwqo8z vqfdTk724CxYz7jL33o8y+QogIKVMrYSG5kHXBnPeBLyIJoBm8C2Mt46aLX1QlausJ6g lgMPqP6/b7HYz3thY01MW98G4YgJ/LoEN4dpi+6YmU6B/L53cBOBGr05VmbTcA2+WmCx dxG+oPKrLe3Lx23EZxj20tCnwLbrkxKVqnnAKhDP2DkMdepsHl6gqIQTxBg4Y2l7MPQ6 y3aLNuqi3AaIzdMBStxM7M1PfWICeDlcuV6UTZ60yIiHq9kglnnvPNjUznkF7P2PUUxU VWFQ== 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=Ec1Ghl9v284qk873U/eSrLFZcLMUlWNcyoNkEFduibA=; b=DjHNDzXci9JH3My4FpgXXQNgtw749xkrvSW1z9rQ/IV/58VhzsexnMPbIQf8qf37LI 5mC6IxgvG9/qs+xzJe3vyZ51KuDzVu1lfWx8L6l7MKl3AN8pLcNKcksLOcRy6dqpWyFG dWro8g8Fx7j5IrrWbCakOTUV6uiOAMYllBOmTNh4YwYxzKiU8HplTeJPHih8Y3jLxQXK LNMImlDqkO1fSzJpfw6TJkZv/KLtYdYVXQ8MCESht642nWrjtLbvMRnQECBqr6YZm4Wg Kp9yEfNX1fR+ynnXVAeIYttJc20ZStjxUcTY8UAUmoz1IxVphnf367FzFcGBTPYRQ/c6 2Hwg== X-Gm-Message-State: AOAM530CW0+OBuQz9mrpTVUEfLrR5aOFmvHWypLNOQo3LV/3kcZ+zEuA JsaqjNFjMJ0ABGuBMTn9dOH/Jn2udfUIfmAcac3B1g== X-Google-Smtp-Source: ABdhPJzqeFQsVl1U54s3Z9D8PraCO+VrvnkFdHB0g92+1Lp8rFK1Wrcr7dCjjsHmemGlO94kEbVGea9MmVZQnpyFOPY= X-Received: by 2002:ac8:5212:: with SMTP id r18mr8907194qtn.290.1616699310131; Thu, 25 Mar 2021 12:08:30 -0700 (PDT) MIME-Version: 1.0 References: <000000000000ce4c9505bdd4a48f@google.com> <20210325182046.GA15860@willie-the-truck> In-Reply-To: From: Dmitry Vyukov Date: Thu, 25 Mar 2021 20:08:18 +0100 Message-ID: Subject: Re: [syzbot] BUG: soft lockup in do_wp_page (4) To: Will Deacon Cc: syzbot , kernel-team@android.com, Andrew Morton , LKML , Linux-MM , syzkaller-bugs , Linux ARM , syzkaller Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: atbstumpqdhikqz6qi5nj9xef9td94mn X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 21E7BA000248 Received-SPF: none (google.com>: No applicable sender policy available) receiver=imf24; identity=mailfrom; envelope-from=""; helo=mail-qt1-f180.google.com; client-ip=209.85.160.180 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616699309-473629 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Mar 25, 2021 at 7:34 PM Dmitry Vyukov wrote: > > On Thu, Mar 18, 2021 at 08:34:16PM +0100, Dmitry Vyukov wrote: > > > On Thu, Mar 18, 2021 at 8:31 PM syzbot > > > wrote: > > > > > > > > Hello, > > > > > > > > syzbot found the following issue on: > > > > > > > > HEAD commit: bf152b0b Merge tag 'for_linus' of git://git.kernel.org/pub.. > > > > git tree: upstream > > > > console output: https://syzkaller.appspot.com/x/log.txt?x=17d5264ed00000 > > > > kernel config: https://syzkaller.appspot.com/x/.config?x=2c9917c41f0bc04b > > > > dashboard link: https://syzkaller.appspot.com/bug?extid=0b036374a865ba0efa8e > > > > userspace arch: arm64 > > > > > > > > Unfortunately, I don't have any reproducer for this issue yet. > > > > > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > > > Reported-by: syzbot+0b036374a865ba0efa8e@syzkaller.appspotmail.com > > > > > > > > watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.1:3684] > > > > > > +Will, arm > > > > > > If I am reading this commit correctly, this is caused by: > > > > > > commit cae118b6acc309539b33339e846cbb19187c164c > > > Author: Will Deacon > > > Date: Wed Mar 3 13:49:27 2021 +0000 > > > arm64: Drop support for CMDLINE_EXTEND > > > > > > syzbot passes lots of critical things in CONFIG_CMDLINE: > > > https://github.com/google/syzkaller/blob/c3c81c94865791469d376eba84f4a2d7763d3f71/dashboard/config/linux/upstream-arm64-kasan.config#L495 > > > but also wants the bootloader args to be appended. > > > What is the way to do it now? > > > > For now, there isn't a way to do it with CONFIG_CMDLINE, so I think you can > > either: > > > > * Revert my patch for your kernels > > * Pass the arguments via QEMU's -append option > > * Take a look at one of the series which should hopefully add this > > functionality back (but with well-defined semantics) [1] [2] > > Unfortunately none of these work for syzbot (and I assume other > testing environments). > > syzbot does not support custom patches by design: > http://bit.do/syzbot#no-custom-patches > As any testing system, it tests the official trees. > > It's not humans who start these VMs, so it's not as easy as changing > the command line after typing... > There is no support for passing args specifically to qemu, syzkaller > support not just qemu, so these things are specifically localized in > the config. Additionally there is an issue of communicating all these > scattered details to developers in bug reports. Currently syzbot > reports the kernel config and it as well captures command line. > > Could you revert the patch? Is there any point in removing the > currently supported feature before the new feature lands? FTR another instance: https://syzkaller.appspot.com/bug?extid=b6c93d85a3f77fca7f13 https://lore.kernel.org/lkml/000000000000d7142c05be60db47@google.com/T/#u > > Sorry for the nuisance; I did try to fix this [3] but it's a bit of a > > mess. > > > > Will > > > > [1] https://lore.kernel.org/linux-arch/cover.1614705851.git.christophe.leroy@csgroup.eu/ > > [2] https://lore.kernel.org/linux-mips/20210308235319.2988609-2-danielwa@cisco.com/#t > > [3] https://lore.kernel.org/r/20210225125921.13147-1-will@kernel.org