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, 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 C821CC433DB for ; Thu, 25 Mar 2021 19:07:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 58A4661A39 for ; Thu, 25 Mar 2021 19:07:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58A4661A39 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 DF8776B006C; Thu, 25 Mar 2021 15:07:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DA7026B006E; Thu, 25 Mar 2021 15:07:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BF9F56B0070; Thu, 25 Mar 2021 15:07:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0172.hostedemail.com [216.40.44.172]) by kanga.kvack.org (Postfix) with ESMTP id A10606B006C for ; Thu, 25 Mar 2021 15:07:29 -0400 (EDT) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 597DFE082 for ; Thu, 25 Mar 2021 19:07:29 +0000 (UTC) X-FDA: 77959330218.28.B440F3B Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by imf14.hostedemail.com (Postfix) with ESMTP id 0FBEBC0007ED for ; Thu, 25 Mar 2021 19:07:25 +0000 (UTC) Received: by mail-qv1-f53.google.com with SMTP id c3so588459qvz.7 for ; Thu, 25 Mar 2021 12:07: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=qae9E1zKJn6LK5b4omUvZSYxmxFxZOk4nKw6EcIS+b8=; b=E1QouEL8MZ9bYUcNnI4vEeFCZ3th/q4BbLzX0CF5FbtAcRiSXVaXq8M9rphikU7lzL 301d3sm2KKvRk2K3c9v6h9/U73xtpqYtWnT9uK0YxmqdCkQsF4e1W83l9RjgI04qEj6i +n4BwReoTRLzgzolY0CT8HUpg8wJkf7Y+1v+U/Qv18eCJoEi3Dqc7kJp05z25xd8z7a9 P9XUq4uy1lxMMbDK+gDWXpATFVCtBTI3dVqxoFByZGq+ewfk1W6Ok5rUWtLvqB3jyn8C AOVMmO0tE4W9tp02HBJdV9xYZt64u6NxzeuRjJGxpVl7sjEETE0VwYnEYsWTrGHcobpx hp2A== 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=qae9E1zKJn6LK5b4omUvZSYxmxFxZOk4nKw6EcIS+b8=; b=P6GmE3DX2H+i0pbcnw9YayH7KvwC/8nchTbvoWkmXAYj21v7YOJrEZAGcRgjFL57/c c3ZxrfxuWRzAHbEJcLJYp8At7qZZEQhJW3a9nxaSJhvQHt8nfdOk/kmehRb+krTyKnE9 lVWKOD+q4KtA7mIDICsblhCDosntxC19S+D+gThXugXtsMIcBujeDxjQ/eL6b7TTwbxX 8zhIbc6KDx3Y3QosaeMJT1lE2jIUH3gSoVJg+Fd3/JN6lv/bPv6Qtm5k53gAo81kDSGc HGWKdGIFNK3c5CqRkMUwRSFPDqqlEEb8XVupfJtEDHnuCxZSN5Y0o9aawVGf9f1XJL+N Kq5Q== X-Gm-Message-State: AOAM53018dsGkaeSZ9kXznr/GoBto6x4rPwcC8jU6g0nx2gigLFePDM2 PVjR/CEjpBd0U1r3gWEUMWfxebOU+IrKJWI2tKmSPQ== X-Google-Smtp-Source: ABdhPJxBkVTeEflQ036PDh3N/5TXozrR6xVegmW2Stcg05vTbImy/ViESo5KxGUwnIpj2wHdkC4yI7GmMrRHK4BMSDY= X-Received: by 2002:a05:6214:2607:: with SMTP id gu7mr9729906qvb.18.1616699247783; Thu, 25 Mar 2021 12:07:27 -0700 (PDT) MIME-Version: 1.0 References: <000000000000d7142c05be60db47@google.com> In-Reply-To: <000000000000d7142c05be60db47@google.com> From: Dmitry Vyukov Date: Thu, 25 Mar 2021 20:07:16 +0100 Message-ID: Subject: Re: [syzbot] BUG: soft lockup in get_page_from_freelist To: syzbot , Linux ARM , kernel-team@android.com, Will Deacon Cc: Andrew Morton , LKML , Linux-MM , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: dn95qrnb796kqgti95ii74iub4hq6b3a X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 0FBEBC0007ED Received-SPF: none (google.com>: No applicable sender policy available) receiver=imf14; identity=mailfrom; envelope-from=""; helo=mail-qv1-f53.google.com; client-ip=209.85.219.53 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616699245-229607 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:48 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: e1381380 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11238fb2d00000 > kernel config: https://syzkaller.appspot.com/x/.config?x=460abe93fbc821a4 > dashboard link: https://syzkaller.appspot.com/bug?extid=b6c93d85a3f77fca7f13 > userspace arch: arm > > 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+b6c93d85a3f77fca7f13@syzkaller.appspotmail.com > > watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.1:22367] /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ This is also due to arm64 removal of CMDLINE support. syzbot sets watchdog_thresh=165, but this fired after 22s. #syz dup: BUG: soft lockup in do_wp_page (4) > Modules linked in: > irq event stamp: 4562 > hardirqs last enabled at (4561): [] exit_to_kernel_mode+0x38/0x230 arch/arm64/kernel/entry-common.c:59 > hardirqs last disabled at (4562): [] enter_el1_irq_or_nmi+0x10/0x20 arch/arm64/kernel/entry-common.c:101 > softirqs last enabled at (4442): [] _stext+0x9e0/0x1084 > softirqs last disabled at (4203): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] > softirqs last disabled at (4203): [] invoke_softirq kernel/softirq.c:228 [inline] > softirqs last disabled at (4203): [] __irq_exit_rcu+0x46c/0x510 kernel/softirq.c:422 > CPU: 0 PID: 22367 Comm: syz-executor.1 Not tainted 5.12.0-rc4-syzkaller-00223-ge138138003eb #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 : ffff0000105e7630 > x29: ffff0000105e7630 x28: fffffc0000180f00 > x27: ffff00007fc13ec0 x26: ffff00000a7be378 > x25: ffff6000014f7c6f x24: 00000000000014b8 > x23: ffff00000a7bcec0 x22: fffffc0000180f40 > x21: ffff8000154f3398 x20: dfff800000000000 > x19: fffffc0000180f00 x18: 0000000000000000 > x17: 0000000000000000 x16: 0000000000000000 > x15: 0000000000000000 x14: 1fffe000020bce90 > x13: 0000000000000001 x12: ffff7f80000301e7 > x11: 1fffff80000301e6 x10: ffff7f80000301e6 > x9 : 0000000000000000 x8 : ffff600000c07a00 > x7 : 0000000000000000 x6 : 000000000000003f > x5 : 0000000000000040 x4 : 1ffff00002fa7950 > x3 : 1fffe000014f79d9 x2 : 0000000000000004 > x1 : 0000000000000040 x0 : ffff00000603cf40 > 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 > alloc_zeroed_user_highpage_movable include/linux/highmem.h:197 [inline] > do_anonymous_page mm/memory.c:3548 [inline] > handle_pte_fault mm/memory.c:4316 [inline] > __handle_mm_fault+0xc88/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_translation_fault+0x1a4/0x210 arch/arm64/mm/fault.c:672 > do_mem_abort+0x64/0x1c0 arch/arm64/mm/fault.c:805 > el0_da+0x3c/0x50 arch/arm64/kernel/entry-common.c:308 > el0_sync_compat_handler+0x114/0x140 arch/arm64/kernel/entry-common.c:506 > el0_sync_compat+0x174/0x180 arch/arm64/kernel/entry.S:708 > > > --- > 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/000000000000d7142c05be60db47%40google.com.