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=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS 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 25815C433ED for ; Sun, 4 Apr 2021 02:35:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9E76D6136F for ; Sun, 4 Apr 2021 02:35:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E76D6136F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D534F6B0071; Sat, 3 Apr 2021 22:35:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D025B6B0075; Sat, 3 Apr 2021 22:35:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BF25A6B0078; Sat, 3 Apr 2021 22:35:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0047.hostedemail.com [216.40.44.47]) by kanga.kvack.org (Postfix) with ESMTP id A27716B0071 for ; Sat, 3 Apr 2021 22:35:17 -0400 (EDT) Received: from smtpin34.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 58E931AD82 for ; Sun, 4 Apr 2021 02:35:17 +0000 (UTC) X-FDA: 77993117874.34.7B0FED3 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by imf22.hostedemail.com (Postfix) with ESMTP id C382BC0001EE for ; Sun, 4 Apr 2021 02:35:15 +0000 (UTC) Received: by mail-io1-f72.google.com with SMTP id d4so8643118ioc.16 for ; Sat, 03 Apr 2021 19:35:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=PWAemxV0be6UqaxJc8Bb2wVrgTpFS1hQOmMm2LLPwTA=; b=pFdZnbxoljwbQkXH7AJh0OzMfwiM6kYzRqbq2xOBTIE2d6dEaOjzfWekIcbGkzF1Qw VCPZqZpaw9xcWm9nveDCduG6V3tlKSOj2uNHVHOYY2QYxK4PWexXG4BV0P+WIoHm42ma mU5hpvC+kVvK488krccifMPywZAMFlyLP0qX1kZXxfsbfOexxQj3j9dTRKHO7kDx6Xc9 43hLwZYAri4c2/FCU9vnZIKGiEE9xCe0FOVsekglxe01BqAccuDoYadsA6jMeYktOLIU YFsQ/JExvWY60rxsFUNBZ/FMsjsWwI5A0ws0zcLtYP8lu9b4v6+BokTlEma6blmEFqEG xG9A== X-Gm-Message-State: AOAM530xQbcXqXWRuVP+PSv4kM1JQ3meT8V4nGVWBOuoGfKmzDX9vdgm 9vfI/7sIdBboLtWs+xlzrM0uHnXydQNslD/Da7hZBb5ICp8/ X-Google-Smtp-Source: ABdhPJzddKv/SwKwBxhT7y+JihhMA+0Gyv0icOoWP8c3iSY14VEaCdyTcmQxO5qXG5Lne/jGi2UIhwRMbUlJmO9U7h3JIzfBrIHi MIME-Version: 1.0 X-Received: by 2002:a02:694b:: with SMTP id e72mr18885596jac.89.1617503716246; Sat, 03 Apr 2021 19:35:16 -0700 (PDT) Date: Sat, 03 Apr 2021 19:35:16 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000006e0a8405bf1c6e8e@google.com> Subject: [syzbot] WARNING: suspicious RCU usage in clear_huge_page From: syzbot To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: C382BC0001EE X-Stat-Signature: 7zhxcjjy3subpyf1rw3xujww48e7b4zz Received-SPF: none (m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com>: No applicable sender policy available) receiver=imf22; identity=mailfrom; envelope-from="<35CVpYAkbAN0RXYJ9KKDQ9OOHC.FNNFKDTRDQBNMSDMS.BNL@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com>"; helo=mail-io1-f72.google.com; client-ip=209.85.166.72 X-HE-DKIM-Result: none/none X-HE-Tag: 1617503715-746698 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: Hello, syzbot found the following issue on: HEAD commit: d19cc4bf Merge tag 'trace-v5.12-rc5' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1611e681d00000 kernel config: https://syzkaller.appspot.com/x/.config?x=78ef1d159159890 dashboard link: https://syzkaller.appspot.com/bug?extid=7a0c25f9520c969c15f5 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+7a0c25f9520c969c15f5@syzkaller.appspotmail.com ============================= WARNING: suspicious RCU usage 5.12.0-rc5-syzkaller #0 Not tainted ----------------------------- kernel/sched/core.c:8294 Illegal context switch in RCU-bh read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 0 1 lock held by syz-executor.2/10002: #0: ffff8880129669d8 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline] #0: ffff8880129669d8 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x285/0x1210 arch/x86/mm/fault.c:1331 stack backtrace: CPU: 0 PID: 10002 Comm: syz-executor.2 Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 ___might_sleep+0x229/0x2c0 kernel/sched/core.c:8294 process_huge_page mm/memory.c:5051 [inline] clear_huge_page+0x9c/0x560 mm/memory.c:5112 __do_huge_pmd_anonymous_page mm/huge_memory.c:607 [inline] do_huge_pmd_anonymous_page+0x60e/0x2570 mm/huge_memory.c:772 create_huge_pmd mm/memory.c:4189 [inline] __handle_mm_fault+0x2e59/0x4f70 mm/memory.c:4424 handle_mm_fault+0x1bc/0x7e0 mm/memory.c:4551 do_user_addr_fault+0x483/0x1210 arch/x86/mm/fault.c:1390 handle_page_fault arch/x86/mm/fault.c:1475 [inline] exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1531 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:577 RIP: 0033:0x461b6d Code: 48 01 d0 eb 0b 0f 1f 84 00 00 00 00 00 48 89 f8 48 83 fa 20 72 49 48 83 fa 40 0f 87 9f 00 00 00 c5 fe 6f 06 c5 fe 6f 4c 16 e0 fe 7f 07 c5 fe 7f 4c 17 e0 c5 f8 77 c3 48 3b 15 7e 8e 04 01 0f RSP: 002b:00007fffc28c60c8 EFLAGS: 00010287 RAX: 0000000020000080 RBX: 0000000000000003 RCX: 0000000000570000 RDX: 000000000000002b RSI: 0000000000570020 RDI: 0000000020000080 RBP: 00007fffc28c6188 R08: 0000000000970000 R09: 00007fffc2907090 R10: 000000000000a8e8 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 000000000056bf60 R15: 0000000000035790 --- 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.