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 555F8EB64DA for ; Fri, 7 Jul 2023 14:20:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B79786B0074; Fri, 7 Jul 2023 10:20:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B29826B0075; Fri, 7 Jul 2023 10:20:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9F18B8D0003; Fri, 7 Jul 2023 10:20:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 90E736B0074 for ; Fri, 7 Jul 2023 10:20:17 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 67DCF1A02DD for ; Fri, 7 Jul 2023 14:20:17 +0000 (UTC) X-FDA: 80985025674.14.D72200E Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf23.hostedemail.com (Postfix) with ESMTP id 66757140024 for ; Fri, 7 Jul 2023 14:20:15 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=nLvLzEHC; spf=pass (imf23.hostedemail.com: domain of jaegeuk@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=jaegeuk@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1688739615; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=3duEBuglYHJPiW+Zxu6laR0xjOyTgL2sZiY4YxhF0hY=; b=aWnvKKykqAbn50sQoK7XRsgQvfscqPveu73V58uqxoilZiR9mEhNg3c16pWjD3Az6mdrA7 kUov83zmSDLggntZw3IjMz1fRb21ugAJp4NJF407PykITmrEwRB+xU8InVaaBEmzU36868 gSzWawOzd3Q6xr4+EFFj52z9aXDKkks= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1688739615; a=rsa-sha256; cv=none; b=shrX8Y+4OBpbX7jOBD+ZI1+rVrJihCieoYlBArJKh+QtCw59CC0jRLl8wxkL7kV54hQTvg HjqTf03j0U9vzIA+fekH6edC0tf48Ph3lAd5xyo8r3JeILBOanL4xXofhCBZ0/pSVV51wA doUL67UndWlvVE5dUWh5EzEYCVb/qKY= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=nLvLzEHC; spf=pass (imf23.hostedemail.com: domain of jaegeuk@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=jaegeuk@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F2E4619A3; Fri, 7 Jul 2023 14:20:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CAC3C433C8; Fri, 7 Jul 2023 14:20:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688739613; bh=mNP/gqJLpyaxvzSWcLJtN1wqNRT4VvoT6PdxXISC5Pc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nLvLzEHCHs4XO4acIOVyMtZtmHOZOHtZYAeSf3h969sQ7MChkBNwNvFfMvbIpsBUB yfXohAya2vhixmHxuF+O7bv28cJYo/deGNLGVoXHJqjxdX7dRW+vZU1xCXc6zjv/30 WTV0seOEyGtSKXSeyjfwVmHF5pilJ1oKXo6f4wpYOcHu6tk/Uz5kialL3QWE86QIzg /5tAO9fg6aGZi0GucFQXw0m45jnR7yKV1CE4JS4nsNLvAZHpT7JDWbK5JYDJ7PJptg z31z/Tlu8KKQQF+mLw/e3g4Klh1HbFSwcX0Hxw6cQ6JG5w3Qzsgde1hdNC84VadVnm +WKdwsYZXSB/A== Date: Fri, 7 Jul 2023 07:20:11 -0700 From: Jaegeuk Kim To: syzbot Cc: akpm@linux-foundation.org, chao@kernel.org, hughd@google.com, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [f2fs?] [tmpfs?] kernel BUG in f2fs_evict_inode Message-ID: References: <000000000000f020a905f061d4c2@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000000000000f020a905f061d4c2@google.com> X-Rspamd-Queue-Id: 66757140024 X-Rspam-User: X-Stat-Signature: xitibzxo5he7o3bsu3of6k5q63gd5gfe X-Rspamd-Server: rspam03 X-HE-Tag: 1688739615-353551 X-HE-Meta: U2FsdGVkX1/1swDP6L4Ert/Yj22apO1RKjeVd8LjxEnxj2U5oBQuPBCNEhCNCFqD9yLeTzYjBhDGYg0IlHo0B4rP0a5MbsSFfbkTuJC0CjNIrTgKF0wZDasb316Hoi7wOCm6/lNDDz6jan2s3Cn3N96HZLhSXv4RWvPAJWjzBQhWnzRYzukljztPlHptb+wM3UdjeBkHT9+Z34abo9CdA0nuopH3Jqxmj9CZHKaldZgV1Bwg5CDpvl62qZ3PF015yZ4Hb/jWQ1qF56RlBDS3RRJOPZC1apaYRNbj9MFn6Rt/dOeBRLEkRO59dSnzXbWFIEAcld6CLG8ooppX3d90Fjjy55W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nVgYS+jCUyRBqofYNxUMqqwg5kEXJDe+i4xQUgKm6FmooSlSLLAtpnhwZAB18P7HWkb6aYG+eOugcVKUXR2ETJHim5jOK1fPqtSgTr5NrnaW3TxmoHVNx2aj0EaWXf6SWZXcmNJcWR+HM9yH5/f7BLW1msG4EoYmVbM1hAoaxB/1+8zU89QiU237frdYp7Sqa1WXz8x8N7ny+qElOl+xz1wPBFjUZva/ggPmgggwkBNtYiF7/FXBtPHd03RQhEviCdcKMJkbVORqNUzuk5rqZMh6kFwqgvvZjiha67Z7D03T9QkXRquF8/bN7jlRUeU22iUbVatgYyUbnylqcUt869XINiDpdtmdL15niB17HrPUaPgiimrTB+Xn9vNU5z/mheJxcuDeR/GBqYkz7pi1wgl+0gWia/Tfzcw0nKuRckpRaeqPm51NyNHrXdZjQmDLSh3nRPOpfcpOB+IapAESaY/sZhmdHmzoSDN4IXsy+e2EPF9QdyqrbS/K3rZjVSRbm5v39HRVIaZ8/Hoi31WBI4IOz8cB/t8fBsTSaoOT/7 iUYlNk5x Xp/ovR7OVp8c3fcy8OdCRcHQbzzbwGn5K0FYNHReXummILqz190KgXn5cvbKIQzm14vPaFi09LjLqkNFrNj3FtlX3i9G5fkPKId93Y9Vh1E= 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: #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test On 12/21, syzbot wrote: > 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