Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp964901rwj; Sat, 17 Dec 2022 22:49:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf6KIwbAaCmtzUcjHCX5dkdY/IQV+vFAWPRcNm8lltOqx2pYiiQwNOaiys1OLdFJK2cXd2DW X-Received: by 2002:a62:ab19:0:b0:576:1078:5abf with SMTP id p25-20020a62ab19000000b0057610785abfmr39718559pff.6.1671346157343; Sat, 17 Dec 2022 22:49:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671346157; cv=none; d=google.com; s=arc-20160816; b=wecwq3jc7WY3+Q00r6TCjpyOF5KGRJdkdXC11iWUNQ1IHlBRtgGRvwVFpttR1PDw2I jECU+M+GgDoXWI4yajrHSslJjO23msaoJvysxxNSGQ9fAvsbpVu22cc8MOu2PsO+twFs m//VNfXKG18lzq9MbtDayq9blQ+FHlaMSe9KIR3Z4uI14C0X/ZektYxUG8HsVOWauvY2 j0A3sQxs0h47OrM0qdxw03XbAIhT8IdnQCYIsQ6eM0qsA5uUC2QNXIdsqF1TTeK4yske lTuvxp+v++WHb2vbjpYOfC824cAVD3Red7zyQQtKeGnSCbPM+OPzMPmWumA/3pc7Ofpc 17sw== 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:in-reply-to:date :mime-version; bh=xbcYa5eQg7Z8jNSA/cnWkeX8JLb+cVTBidKMi6pk1gg=; b=ixPJXySNxaFC3pXBJtLwCSGT+dBrD/iHps+05VgDFTOL1TqTiJlR1cP31kkx2KDjGa PSPxtMulLioliENikD9KVtSfshmdYD1RFyG2CfjaNS/3j9qrqcrCR1+C9/pKE3lfM0ps GBFHAXzIhNZIgJ76noESIsxVKSDzCvmvztzhmRxBp073RGzKHivteZ20b00dgFtxo6fy YVf2B6YJmIGf8crCoV9cEd3LyP06P/Sa0gwH3u5rX/KpNwlbHSC2MLLRq8UTmUcmV9ay JV7p57myt0fdgs88CjVhnnToWWz7lb3GmTN98qaBaRofZtdWq/uO0O6wMEwTcBeY7LZ2 icsA== 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 f8-20020a056a001ac800b0057e5373b7a4si7548616pfv.80.2022.12.17.22.49.00; Sat, 17 Dec 2022 22:49:17 -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 S230212AbiLRGBj (ORCPT + 69 others); Sun, 18 Dec 2022 01:01:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbiLRGBg (ORCPT ); Sun, 18 Dec 2022 01:01:36 -0500 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FA2C8FFE for ; Sat, 17 Dec 2022 22:01:35 -0800 (PST) Received: by mail-il1-f198.google.com with SMTP id s1-20020a056e021a0100b003026adad6a9so4677752ild.18 for ; Sat, 17 Dec 2022 22:01:35 -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:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xbcYa5eQg7Z8jNSA/cnWkeX8JLb+cVTBidKMi6pk1gg=; b=eyoUqTamVZgKAGKYv46Id0MmcCEC/6Y4Mlp5m23uJs8mgs6ZnXuA3mcz8GkVmKKY5/ SUPre2yNPQWRJnQquC99nD++vJH4oo+tD63tRAvQdYapRx/u+OhUFq1XwQxsS8lqo2Kp d5mNAXO2f2fSB9T688mQu2/jmHT1aS56Rxqkdo/8iWPxTFvuNPnB/So3obcDJO5+sq22 BZU9O2TP5FfBbetRutRlzS5QIKnb/MnKKxkehbMerYBjWZaUm5jWLAFfhaykC8VD9f2I AzP6+xRfEtCtnRnIj3Tajf/qIjH3YEpb9nZx9+JmuY1+y9nNA2TZnt4a7niyDzF2CI4g fckg== X-Gm-Message-State: ANoB5pnFyYwHdUpWmviLXvJdqQtTzH+m1LGynsrpJSQV9xWltxipvBO/ PoBEa1ZogcpiEUzkgTNeyd7Sl2OMwlVl2I14VUhwe+vQ4TsG MIME-Version: 1.0 X-Received: by 2002:a02:95ca:0:b0:363:ab01:e25f with SMTP id b68-20020a0295ca000000b00363ab01e25fmr46256323jai.167.1671343294459; Sat, 17 Dec 2022 22:01:34 -0800 (PST) Date: Sat, 17 Dec 2022 22:01:34 -0800 In-Reply-To: <000000000000ab092305e268a016@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005d3b2c05f013ef1d@google.com> Subject: Re: [syzbot] [gfs2?] general protection fault in gfs2_evict_inode (2) From: syzbot To: agruenba@redhat.com, cluster-devel@redhat.com, linux-kernel@vger.kernel.org, rpeterso@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, 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 syzbot has found a reproducer for the following issue on: HEAD commit: a5541c0811a0 Merge branch 'for-next/core' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=15551327880000 kernel config: https://syzkaller.appspot.com/x/.config?x=cbd4e584773e9397 dashboard link: https://syzkaller.appspot.com/bug?extid=8a5fc6416c175cecea34 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1718796f880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1735df8f880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/4b7702208fb9/disk-a5541c08.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9ec0153ec051/vmlinux-a5541c08.xz kernel image: https://storage.googleapis.com/syzbot-assets/6f8725ad290a/Image-a5541c08.gz.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/b4c763067524/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+8a5fc6416c175cecea34@syzkaller.appspotmail.com gfs2: fsid=syz:syz.0: error recovering journal 0: -5 Unable to handle kernel NULL pointer dereference at virtual address 000000000000008c Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=000000010dd7c000 [000000000000008c] pgd=080000010bf77003, p4d=080000010bf77003, pud=080000010a9f1003, pmd=0000000000000000 Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 3071 Comm: syz-executor179 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : evict_linked_inode fs/gfs2/super.c:1330 [inline] pc : gfs2_evict_inode+0x6f8/0x918 fs/gfs2/super.c:1385 lr : evict_linked_inode fs/gfs2/super.c:1328 [inline] lr : gfs2_evict_inode+0x6ec/0x918 fs/gfs2/super.c:1385 sp : ffff80000ff73830 x29: ffff80000ff738a0 x28: 0000000000000000 x27: 0000000000000000 x26: ffff0000cb74c728 x25: 0000000000008004 x24: ffff0000c9b25110 x23: ffff0000cb74c000 x22: ffff0000c9b24e70 x21: ffff0000cb74c000 x20: ffff0000ca579770 x19: ffff0000ca5792c0 x18: 00000000000000c0 x17: ffff80000dda8198 x16: ffff80000dbe6158 x15: ffff0000c407cec0 x14: 00000000000000b8 x13: 00000000ffffffff x12: ffff0000c407cec0 x11: ff80800009278314 x10: 0000000000000000 x9 : ffff800009278314 x8 : 0000000000000000 x7 : ffff80000862aa80 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff0000cb74c000 Call trace: evict_linked_inode fs/gfs2/super.c:1330 [inline] gfs2_evict_inode+0x6f8/0x918 fs/gfs2/super.c:1385 evict+0xec/0x334 fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput+0x2c4/0x324 fs/inode.c:1773 gfs2_jindex_free+0x10c/0x16c fs/gfs2/super.c:75 init_journal+0x518/0xcbc fs/gfs2/ops_fstype.c:871 init_inodes+0x74/0x184 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x630/0x874 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1324 gfs2_get_tree+0x30/0xc0 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x40/0x140 fs/super.c:1531 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x890 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: 97ff3736 f94482e8 aa1703e0 2a1f03e1 (b9408d02) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97ff3736 bl 0xfffffffffffcdcd8 4: f94482e8 ldr x8, [x23, #2304] 8: aa1703e0 mov x0, x23 c: 2a1f03e1 mov w1, wzr * 10: b9408d02 ldr w2, [x8, #140] <-- trapping instruction