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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5938DC77B75 for ; Fri, 5 May 2023 10:43:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7351F6B0075; Fri, 5 May 2023 06:43:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6E5586B0078; Fri, 5 May 2023 06:43:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5FA7F6B007B; Fri, 5 May 2023 06:43:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from mail-il1-f208.google.com (mail-il1-f208.google.com [209.85.166.208]) by kanga.kvack.org (Postfix) with ESMTP id 41AD76B0075 for ; Fri, 5 May 2023 06:43:54 -0400 (EDT) Received: by mail-il1-f208.google.com with SMTP id e9e14a558f8ab-3311ec66613so10534785ab.2 for ; Fri, 05 May 2023 03:43:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683283434; x=1685875434; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oEnh3nWr/jgBwZcwvzTL4Lq9OTSItRiA+fMs85OZJww=; b=LmjD41QSju6v10PDLZxLwS/bRkXhavOjYtVH1Kn1VUTDLLXKxsHx9EnaD8wMhsbIS0 UYxYLA70qhlYy2Ztx7Bl3K1ZhRbDO/PFzMRxlI7Wcos5wQ6EXGqVh7DB7mTwhYlsjgbX ygNIKINRgM5WNPfkdlPX6QJ49cUetQUp/28FhKcsbsWHi9flV9BnV+Fj+jLRerJ+UeWi khHE/JedNG6rL0zVGgR3hOA1y+dM4SFEhbMDDUw1PqMAAQaNkQVB95+Au/Nfy6IiN8PX xGSQ/FyKlty64n+ukPz7bvcgJE4gGaJ4EPIcsm0b2of6x9NOxO+nh45KPcAsSFvT48pM dAzA== X-Gm-Message-State: AC+VfDxWtlf72kQ4BVPbX+hClgmmWSd6mkfKawpDYXecAW8nrInipJ3k 7Qtu3GGuUZ2yWRoat3lkYu19dALVcmhk/gBDoJ5l1hX/uP4Z X-Google-Smtp-Source: ACHHUZ7X7jpOh7h12Uz0/x52atjY2bRuppz6KBb8jysGbxq2CVoHOWqmQ/WEXgrvockG7hKuRaJMQpJi0N7beHsQ4c8Vc+gAU3K7 MIME-Version: 1.0 X-Received: by 2002:a92:cc88:0:b0:32b:7258:70f1 with SMTP id x8-20020a92cc88000000b0032b725870f1mr523087ilo.6.1683283433853; Fri, 05 May 2023 03:43:53 -0700 (PDT) Date: Fri, 05 May 2023 03:43:53 -0700 In-Reply-To: <00000000000016552c05f1d7e734@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000219cf005faeff735@google.com> Subject: Re: [syzbot] [mm?] WARNING in shmem_evict_inode From: syzbot To: akpm@linux-foundation.org, hughd@google.com, 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: syzbot has found a reproducer for the following issue on: HEAD commit: 3c4aa4434377 Merge tag 'ceph-for-6.4-rc1' of https://githu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12b6d904280000 kernel config: https://syzkaller.appspot.com/x/.config?x=c1d541e02d3faec dashboard link: https://syzkaller.appspot.com/bug?extid=3d4aa0d3e784b29b1520 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14d1973c280000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/8f7290c9ee9a/disk-3c4aa443.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/750ee3ca09db/vmlinux-3c4aa443.xz kernel image: https://storage.googleapis.com/syzbot-assets/5839788c2cab/bzImage-3c4aa443.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+3d4aa0d3e784b29b1520@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6362 at mm/shmem.c:1186 shmem_evict_inode+0x873/0xb60 mm/shmem.c:1186 Modules linked in: CPU: 0 PID: 6362 Comm: syz-executor.1 Not tainted 6.3.0-syzkaller-13091-g3c4aa4434377 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:shmem_evict_inode+0x873/0xb60 mm/shmem.c:1186 Code: 89 fe e8 70 1c ca ff 45 85 ff 75 ab e8 46 20 ca ff 48 8b 74 24 18 48 8b 7c 24 20 e8 a7 de a7 ff e9 fc fd ff ff e8 2d 20 ca ff <0f> 0b e9 a0 f8 ff ff e8 21 20 ca ff 4c 89 ea 48 b8 00 00 00 00 00 RSP: 0018:ffffc9000b147858 EFLAGS: 00010293 RAX: 0000000000000000 RBX: fffffffffffff840 RCX: 0000000000000000 RDX: ffff88807c94e040 RSI: ffffffff81b95ec3 RDI: 0000000000000007 RBP: ffffc9000b147950 R08: 0000000000000007 R09: 0000000000000000 R10: fffffffffffff840 R11: 0000000000000000 R12: ffff888076f85450 R13: ffff888076f854a0 R14: ffff888076f85380 R15: ffff888076f85390 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7087f5e108 CR3: 000000007c6b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1747 [inline] iput.part.0+0x50a/0x740 fs/inode.c:1773 iput+0x5c/0x80 fs/inode.c:1763 dentry_unlink_inode+0x2b1/0x460 fs/dcache.c:401 __dentry_kill+0x3c0/0x640 fs/dcache.c:607 dentry_kill fs/dcache.c:733 [inline] dput+0x865/0xe10 fs/dcache.c:913 __fput+0x3cc/0xa90 fs/file_table.c:329 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xad3/0x2960 kernel/exit.c:871 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021 get_signal+0x2315/0x25b0 kernel/signal.c:2874 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efe7028c169 Code: Unable to access opcode bytes at 0x7efe7028c13f. RSP: 002b:00007efe70fe2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000116000 RBX: 00007efe703abf80 RCX: 00007efe7028c169 RDX: 00000000fffffd2c RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007efe702e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc607e699f R14: 00007efe70fe2300 R15: 0000000000022000 --- If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing.