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=-5.4 required=3.0 tests=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 7BD8AC43331 for ; Thu, 26 Mar 2020 02:24:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4601920719 for ; Thu, 26 Mar 2020 02:24:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4601920719 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 DA5B76B000D; Wed, 25 Mar 2020 22:24:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D546E6B000E; Wed, 25 Mar 2020 22:24:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C69A66B0010; Wed, 25 Mar 2020 22:24:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0069.hostedemail.com [216.40.44.69]) by kanga.kvack.org (Postfix) with ESMTP id A704E6B000D for ; Wed, 25 Mar 2020 22:24:12 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 8FC27181AD0A3 for ; Thu, 26 Mar 2020 02:24:12 +0000 (UTC) X-FDA: 76635918744.15.news01_41d02f8eafa24 X-HE-Tag: news01_41d02f8eafa24 X-Filterd-Recvd-Size: 4661 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Thu, 26 Mar 2020 02:24:12 +0000 (UTC) Received: by mail-il1-f199.google.com with SMTP id z89so4003226ilk.4 for ; Wed, 25 Mar 2020 19:24:11 -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=SjP3ZWohidOk4VBAV6+GsmZ4385gJW3ruGw8Pm0jJ+g=; b=Mj2rWvQnKJJ6/toRAnI2O7+WYZBy2o9tiapndscoIZMjp0+qyJ+CpDVXvwvkCkNPen xJ0UJBCH28LP5rVSTiFBwT4ggLHJxdYisQCVsHHHyPRPvSd/BW7RB0hkPfAzIO+zb7Ki hBF29T9NA0Q42kVOyPYu/THi70xmw2bp64+B17WXFvwmVFd0y9XtbDiIBGtoIziP6UE8 HYrZ557lGWLqcJxRaQtkfuqBADGem4vT9sr25+cXzWuFRjzMxm5OGOIrDy0YY907B1sz Zw7fD0ZxPsN1b91AR8iC/UlrKLsedDpIxfmAe9/W46OLpbIHg92qoh9u9cWlREeNnMuf +TqQ== X-Gm-Message-State: ANhLgQ3XbAsJPnR2ztcOWr+oqKgLqKcKBdwydrIwqGhO3f9uVyarZEdT RyTW4vvMgwl77zN5YVJ1Tm6Br0cY+qaUIp7Yc1sCAozFcfzw X-Google-Smtp-Source: ADFU+vs+7FNMIImcWRQYSL85l2e94sds7PPqNyGPwE1KtJq+ptRWMF8MUKYz+UzH4Crd2yzl2pUsilvnB8zt0ryf2Apfp8DpXWWG MIME-Version: 1.0 X-Received: by 2002:a02:5ec2:: with SMTP id h185mr5609432jab.2.1585189451425; Wed, 25 Mar 2020 19:24:11 -0700 (PDT) Date: Wed, 25 Mar 2020 19:24:11 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000276fa005a1b8aeb5@google.com> Subject: kernel panic: stack is corrupted in mpol_to_str 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-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 crash on: HEAD commit: e2cf67f6 Merge tag 'zonefs-5.6-rc7' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1217e987e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=90791b5aec4dc636 dashboard link: https://syzkaller.appspot.com/bug?extid=b636fe4123f39f69c35b compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16773d8de00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1309b523e00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+b636fe4123f39f69c35b@syzkaller.appspotmail.com Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: mpol_to_str+0x3ec/0x3f0 mm/mempolicy.c:2962 CPU: 1 PID: 1 Comm: systemd Not tainted 5.6.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1e9/0x30e lib/dump_stack.c:118 panic+0x264/0x7a0 kernel/panic.c:221 __stack_chk_fail+0x1c/0x20 kernel/panic.c:667 mpol_to_str+0x3ec/0x3f0 mm/mempolicy.c:2962 shmem_show_mpol mm/shmem.c:1406 [inline] shmem_show_options+0x3d9/0x4c0 mm/shmem.c:3609 show_mountinfo+0x68d/0x790 fs/proc_namespace.c:187 seq_read+0x9df/0xd20 fs/seq_file.c:268 __vfs_read+0xa7/0x6f0 fs/read_write.c:425 vfs_read+0x1c0/0x3f0 fs/read_write.c:461 ksys_read+0x115/0x220 fs/read_write.c:587 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f83e3f3f92d Code: 2d 2c 00 00 75 10 b8 00 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 de 9b 01 00 48 89 04 24 b8 00 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 27 9c 01 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffe6d4b18c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000055840db5f6d0 RCX: 00007f83e3f3f92d RDX: 0000000000000400 RSI: 000055840db5f900 RDI: 000000000000002b RBP: 0000000000000d68 R08: 00007f83e5975500 R09: 00000000000000e0 R10: 000055840db5fce2 R11: 0000000000000293 R12: 00007f83e41fa440 R13: 00007f83e41f9900 R14: 000000000000001e R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. --- This bug 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 bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches