Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6640704rwj; Wed, 21 Dec 2022 19:09:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXvvkpOQMcd6AWERjhGlA6HsaYPMGhiUlRNiC0VMv7ohy22uzvyPdUqm7pUD/CjO7/2xG0XG X-Received: by 2002:a17:906:5042:b0:841:e5b3:c95f with SMTP id e2-20020a170906504200b00841e5b3c95fmr2093010ejk.29.1671678568136; Wed, 21 Dec 2022 19:09:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671678568; cv=none; d=google.com; s=arc-20160816; b=OBzHDE/1/Mym3AqaDTfAsBGhpPSvKpAHDL/iNs3j78b/J3lbHtnDClpE/Cu3Ryr1ck k9lV+Cmvl0hrQq0HhZTwEYPgpD4iee0UNx4t+C2aecrw3tYJRb6yNlJbS+cEdsTYYsB2 av/QATqG26tolHADpp2kAX8k4JNLt4+kftBYOLtDOAj8g8zkcflH59K+inzyY/SqI8dI SOP1XMFpXMKQ4XRMaCmGqeoOiM9IKyd0C4KEtucyD19uc5UanOB8Uj7CwMylF7BCM9EM /yYbjsEe/zUtdJ5PdRFRCfi7AlU4jgbUebqlEnRiMnNBUjQnFwUSaWcTiD3xK4+h/nSt Qddw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=QyXBieiJ7cY0MoEKI6KnrTbmapbftXsP47zDObaNoIo=; b=Wetfv31ZBkYFQMZq+hvZ2zIctaUMEYo+409VUQg3ktrm3IMXErcuNz50bjRXuuUC/w TSuH6PQVu+dmRaJ/aaQFGcBM9drr6OMegBUOzgHY3NmC4GNx5OUn3ypdbTq7zbZwUlXW RUn+fYWm1PDaVNGbBVpGaG1uziQo7vX+xfxfYUmcNW/byh/odgrjlheRDo9D+Qd/ZopS NjYelsETUcnJmA9XKSQ1MFARairZKUV6wcawULSCAKpuhT1j9reRPNBe4vPxQdn2c5U8 6t1DRy2Chc3FEHtqnTqxangGyNm5b1UNS9JF5ligvC+V392cGh/7oDP66kqUb2Z0kJCf qg3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w15-20020a170906480f00b007c17452499asi521460ejq.951.2022.12.21.19.09.11; Wed, 21 Dec 2022 19:09:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235008AbiLVC5s (ORCPT + 67 others); Wed, 21 Dec 2022 21:57:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234636AbiLVC5l (ORCPT ); Wed, 21 Dec 2022 21:57:41 -0500 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CDFE1A830 for ; Wed, 21 Dec 2022 18:57:39 -0800 (PST) Received: by mail-il1-f199.google.com with SMTP id j11-20020a056e02218b00b00304b148969dso387585ila.13 for ; Wed, 21 Dec 2022 18:57:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QyXBieiJ7cY0MoEKI6KnrTbmapbftXsP47zDObaNoIo=; b=wTeuHyGzpfkjV1fjPjs9gWJiohe0WANb6eVMCJRBh6Vr09gefJFCEgEIG78OBw9j/v +lXtbT3/iw5Cs9lAloZHq7BQvVFAkNy9Mt6C9pZWEk6+VLS2ZNBVHDZs1/FOMU4OWtGb e56ylggEhTlKUIbUg/sCkYrCRlkbWCWKZXZcnzseoOeHmbAHYnrnfdq+JyieQ/p9a9Tr CgIEmuSs88Rj6cKTXNNjQEiwdBtMB+BCRkmBK/9NjSc1Py7WqS8WwH9ktiuU6Dp4XyWg 3Fdbr4ykh0KkjKB0xmwNTOeFHhfE3ReZsen8o5wxba4IZmdObptQbmuO5859vsh03zpe /3kQ== X-Gm-Message-State: AFqh2kqZgn+eL0F7AWzKSaXmEoxZRJO4HOsN+diULz61W9r+sybrftlI /9lWoYu/2OX3XFH8XvHLXv20iaGHnEEYMEdDqyCcMP29HGZd MIME-Version: 1.0 X-Received: by 2002:a02:85e3:0:b0:38a:66d5:8715 with SMTP id d90-20020a0285e3000000b0038a66d58715mr327555jai.63.1671677858551; Wed, 21 Dec 2022 18:57:38 -0800 (PST) Date: Wed, 21 Dec 2022 18:57:38 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f020a905f061d4c2@google.com> Subject: [syzbot] [f2fs?] [tmpfs?] kernel BUG in f2fs_evict_inode From: syzbot To: akpm@linux-foundation.org, chao@kernel.org, hughd@google.com, jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 77856d911a8c Merge tag 'arm64-fixes' of git://git.kernel.o.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=17c418c8480000 kernel config: https://syzkaller.appspot.com/x/.config?x=f967143badd2fa39 dashboard link: https://syzkaller.appspot.com/bug?extid=e1246909d526a9d470fa compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=160ea04f880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17e2a99d880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/4b424d9203f5/disk-77856d91.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/47fd68051834/vmlinux-77856d91.xz kernel image: https://storage.googleapis.com/syzbot-assets/d3091f087a86/bzImage-77856d91.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/36b1377afaef/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+e1246909d526a9d470fa@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at fs/f2fs/inode.c:864! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5067 Comm: syz-executor118 Not tainted 6.1.0-syzkaller-13031-g77856d911a8c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:f2fs_evict_inode+0x1306/0x1310 fs/f2fs/inode.c:864 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 8a f5 ff ff 48 89 df e8 4b 51 1a fe e9 7d f5 ff ff e8 e1 b4 c4 fd 0f 0b e8 da b4 c4 fd <0f> 0b 0f 1f 84 00 00 00 00 00 55 41 57 41 56 53 48 89 fb e8 c2 b4 RSP: 0018:ffffc90003b3f8f8 EFLAGS: 00010293 RAX: ffffffff83c720e6 RBX: 0000000000000002 RCX: ffff8880251257c0 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff83c71bc3 R09: ffffed100e5a41b5 R10: ffffed100e5a41b5 R11: 1ffff1100e5a41b4 R12: dffffc0000000000 R13: ffff888072d208f0 R14: ffff888072d20da0 R15: 0000000000000000 FS: 000055555685a300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd85832d68 CR3: 00000000726a5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x2a4/0x620 fs/inode.c:664 dispose_list fs/inode.c:697 [inline] evict_inodes+0x658/0x700 fs/inode.c:747 generic_shutdown_super+0x94/0x310 fs/super.c:480 kill_block_super+0x79/0xd0 fs/super.c:1386 kill_f2fs_super+0x2f9/0x3c0 fs/f2fs/super.c:4640 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1291 task_work_run+0x243/0x300 kernel/task_work.c:179 ptrace_notify+0x29a/0x340 kernel/signal.c:2354 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:251 syscall_exit_to_user_mode_prepare+0x63/0xc0 kernel/entry/common.c:278 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0xa/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd8e1d06d97 Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd858334a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fd8e1d06d97 RDX: 00007ffd85833569 RSI: 000000000000000a RDI: 00007ffd85833560 RBP: 00007ffd85833560 R08: 00000000ffffffff R09: 00007ffd85833340 R10: 000055555685b653 R11: 0000000000000202 R12: 00007ffd858345d0 R13: 000055555685b5f0 R14: 00007ffd858334d0 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_evict_inode+0x1306/0x1310 fs/f2fs/inode.c:864 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 8a f5 ff ff 48 89 df e8 4b 51 1a fe e9 7d f5 ff ff e8 e1 b4 c4 fd 0f 0b e8 da b4 c4 fd <0f> 0b 0f 1f 84 00 00 00 00 00 55 41 57 41 56 53 48 89 fb e8 c2 b4 RSP: 0018:ffffc90003b3f8f8 EFLAGS: 00010293 RAX: ffffffff83c720e6 RBX: 0000000000000002 RCX: ffff8880251257c0 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff83c71bc3 R09: ffffed100e5a41b5 R10: ffffed100e5a41b5 R11: 1ffff1100e5a41b4 R12: dffffc0000000000 R13: ffff888072d208f0 R14: ffff888072d20da0 R15: 0000000000000000 FS: 000055555685a300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd85832d68 CR3: 00000000726a5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches