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 77502C433E0 for ; Thu, 18 Mar 2021 19:34:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 19DF164F2B for ; Thu, 18 Mar 2021 19:34:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19DF164F2B 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 839246B0070; Thu, 18 Mar 2021 15:34:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7E9806B0071; Thu, 18 Mar 2021 15:34:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 662EF6B0072; Thu, 18 Mar 2021 15:34:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0159.hostedemail.com [216.40.44.159]) by kanga.kvack.org (Postfix) with ESMTP id 4D4966B0070 for ; Thu, 18 Mar 2021 15:34:53 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 11CE11819E754 for ; Thu, 18 Mar 2021 19:34:53 +0000 (UTC) X-FDA: 77933997624.10.4C96CE4 Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) by imf06.hostedemail.com (Postfix) with ESMTP id D834DC00CBE1 for ; Thu, 18 Mar 2021 19:34:28 +0000 (UTC) Received: by mail-qv1-f54.google.com with SMTP id x16so3836976qvk.3 for ; Thu, 18 Mar 2021 12:34:28 -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=XHWc+9paIoDWKhQDFQzfEWCvxztwOe9Bfis8yySP4PM=; b=lK7zqWA/Lv+6zWiZl58NgPGF0GXOk+bdmx41H9TPhpYuhY57N8c0DnCCngIpJkEznH zpqedVCzSZZF4uMw4ugGcA6DBgUC7aHkYKa0gWdnho8xUOVWrHiEz+MdMac+UUeDH+8N Rekd1Hl2G0R0eJSCnt5e/bz1ILfEpQ1n1DtYBAQdB5r15nC2/QLbdgX0Hmijkfftx9N3 3QUAXtoMemNfyB0euwap0Fo6LVFIqvPjauwqavpXTUqwEJUIX1GOY2fR7nLkgGBbSKBh bbxGSNi8MxcIMVqNRH6lT6UYVkBtZTEbW5zDMCGzyWuOxSpOoLsoUrKY70eqGQ/uP1TP UkeA== 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=XHWc+9paIoDWKhQDFQzfEWCvxztwOe9Bfis8yySP4PM=; b=K6D5Q0dyCUIRwqYKEqo5zbNpuDmx4E0CCBPXHw6qfWNNm0Fx60RCplAlX6YDxQNcVT gk0uebvTQY9gdt9oTrfIM80YuPKjZH/xn5pgDnfAnMJfQm//uF9kgjQCYmKp2eMI53Zx uyuhglFzRC4q9cc3+LWMeN798CopwRm0J1yOJFHisLGDAiWPSkStccoQRPg/08si1RLU bSFa+0CtCTVki8zT+pGrswNzLR3voTbCrEBo53jg5oBnRmcf+1NmDY6Dmn54bvdI0LrC 248/t8cLt4/q1RArS6bsVjRx/46oxJBhMTv7zTtruaWeCZH/LU/xs6vDQWjDadtHWGYu R8NQ== X-Gm-Message-State: AOAM5306aNHnpzs/zjB9NpNdWadb4DImVIkT4xR1xZZ9q6z1CUWq8eHW mVnXTshJ/HPcs1Qo/NEzIbvkOEZib8VFbUkPeZfxfg== X-Google-Smtp-Source: ABdhPJwIYBJyOg+lFGLytkT1q5QjlPOdelWYM4ig+cLSIRfmI/0nftCT2wrKhgZJdNEUQsQBVQl+vItL3rk93tKTpG0= X-Received: by 2002:ad4:410d:: with SMTP id i13mr5869119qvp.44.1616096067800; Thu, 18 Mar 2021 12:34:27 -0700 (PDT) MIME-Version: 1.0 References: <000000000000ce4c9505bdd4a48f@google.com> In-Reply-To: <000000000000ce4c9505bdd4a48f@google.com> From: Dmitry Vyukov Date: Thu, 18 Mar 2021 20:34:16 +0100 Message-ID: Subject: Re: [syzbot] BUG: soft lockup in do_wp_page (4) To: syzbot , Will Deacon , kernel-team@android.com Cc: Andrew Morton , LKML , Linux-MM , syzkaller-bugs , Linux ARM Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: D834DC00CBE1 X-Stat-Signature: 5q3wxjnbjqbr8pn9iaw4hn8198jzttyo Received-SPF: none (google.com>: No applicable sender policy available) receiver=imf06; identity=mailfrom; envelope-from=""; helo=mail-qv1-f54.google.com; client-ip=209.85.219.54 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616096068-198838 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 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? > Modules linked in: > irq event stamp: 10067468 > hardirqs last enabled at (10067467): [] exit_to_kernel_mode+0x38/0x230 arch/arm64/kernel/entry-common.c:59 > hardirqs last disabled at (10067468): [] enter_el1_irq_or_nmi+0x10/0x20 arch/arm64/kernel/entry-common.c:101 > softirqs last enabled at (10067362): [] _stext+0x9e0/0x1084 > softirqs last disabled at (10067297): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] > softirqs last disabled at (10067297): [] invoke_softirq kernel/softirq.c:228 [inline] > softirqs last disabled at (10067297): [] __irq_exit_rcu+0x46c/0x510 kernel/softirq.c:422 > CPU: 0 PID: 3684 Comm: syz-executor.1 Not tainted 5.12.0-rc3-syzkaller-00036-gbf152b0b41dc #0 > Hardware name: linux,dummy-virt (DT) > pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--) > pc : clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:23 > lr : clear_highpage include/linux/highmem.h:203 [inline] > lr : kernel_init_free_pages+0x74/0x180 mm/page_alloc.c:1212 > sp : ffff00000c6cf4a0 > x29: ffff00000c6cf4a0 x28: fffffc0000180b00 > x27: ffff00007fc13ec0 x26: ffff00000b709458 > x25: ffff6000016e128b x24: 0000000000001458 > x23: ffff00000b708000 x22: fffffc0000180b40 > x21: ffff8000154e2938 x20: dfff800000000000 > x19: fffffc0000180b00 x18: 0000000000000000 > x17: 0000000000000000 x16: 0000000000000000 > x15: 0000000000000000 x14: 1fffe000018d9e5e > x13: 0000000000000001 x12: ffff7f8000030167 > x11: 1fffff8000030166 x10: ffff7f8000030166 > x9 : 0000000000000000 x8 : ffff600000c05a00 > x7 : 0000000000000000 x6 : 000000000000003f > x5 : 0000000000000040 x4 : 1ffff00002fa5748 > x3 : 1fffe000016e1001 x2 : 0000000000000004 > x1 : 0000000000000040 x0 : ffff00000602ce00 > Call trace: > clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:21 > post_alloc_hook+0x130/0x1fc mm/page_alloc.c:2305 > prep_new_page mm/page_alloc.c:2311 [inline] > get_page_from_freelist+0x2024/0x2a40 mm/page_alloc.c:3951 > __alloc_pages_nodemask+0x2a0/0x24dc mm/page_alloc.c:5001 > alloc_pages_vma+0xb4/0x510 mm/mempolicy.c:2240 > wp_page_copy+0x198/0x16e0 mm/memory.c:2853 > do_wp_page+0x1d8/0xbbc mm/memory.c:3160 > handle_pte_fault mm/memory.c:4336 [inline] > __handle_mm_fault+0x1020/0x21d4 mm/memory.c:4453 > handle_mm_fault+0x1cc/0x4dc mm/memory.c:4551 > __do_page_fault arch/arm64/mm/fault.c:507 [inline] > do_page_fault+0x228/0x880 arch/arm64/mm/fault.c:591 > do_mem_abort+0x64/0x1c0 arch/arm64/mm/fault.c:805 > el0_da+0x3c/0x50 arch/arm64/kernel/entry-common.c:308 > el0_sync_handler+0x168/0x1b0 arch/arm64/kernel/entry-common.c:435 > el0_sync+0x170/0x180 arch/arm64/kernel/entry.S:699 > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > > -- > You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/000000000000ce4c9505bdd4a48f%40google.com.