gfs2: fsid=syz:syz.0: error recovering journal 0: -5 general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f] CPU: 0 PID: 7563 Comm: syz-executor.0 Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:evict_linked_inode fs/gfs2/super.c:1349 [inline] RIP: 0010:gfs2_evict_inode+0xa0b/0x14d0 fs/gfs2/super.c:1399 Code: fc ff df 80 3c 08 00 74 08 4c 89 f7 e8 7e 10 1e fe bb 8c 00 00 00 49 03 1e 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 4a 09 00 00 8b 13 45 31 e4 4c 89 ff 31 f6 RSP: 0018:ffffc900165af4a0 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 000000000000008c RCX: dffffc0000000000 RDX: ffffc90003ed1000 RSI: 000000000002093c RDI: 000000000002093d RBP: ffffc900165af640 R08: ffffffff83bc263d R09: ffffed100eea68cf R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880313bf6f0 R13: ffff8880313bf238 R14: ffff888029e88900 R15: ffff888029e88000 FS: 00007f1075800700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32627000 CR3: 00000000777a0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x2a4/0x620 fs/inode.c:664 gfs2_jindex_free+0x44d/0x500 fs/gfs2/super.c:75 init_journal+0x9f2/0x2540 fs/gfs2/ops_fstype.c:871 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x1bc2/0x26d0 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x402/0x620 fs/super.c:1282 gfs2_get_tree+0x54/0x210 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x8c/0x270 fs/super.c:1489 do_new_mount+0x28f/0xae0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1074a8d62a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f10757fff88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000125ce RCX: 00007f1074a8d62a RDX: 0000000020000040 RSI: 0000000020012500 RDI: 00007f10757fffe0 RBP: 00007f1075800020 R08: 00007f1075800020 R09: 0000000000000410 R10: 0000000000000410 R11: 0000000000000202 R12: 0000000020000040 R13: 0000000020012500 R14: 00007f10757fffe0 R15: 0000000020000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:evict_linked_inode fs/gfs2/super.c:1349 [inline] RIP: 0010:gfs2_evict_inode+0xa0b/0x14d0 fs/gfs2/super.c:1399 Code: fc ff df 80 3c 08 00 74 08 4c 89 f7 e8 7e 10 1e fe bb 8c 00 00 00 49 03 1e 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 4a 09 00 00 8b 13 45 31 e4 4c 89 ff 31 f6 RSP: 0018:ffffc900165af4a0 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 000000000000008c RCX: dffffc0000000000 RDX: ffffc90003ed1000 RSI: 000000000002093c RDI: 000000000002093d RBP: ffffc900165af640 R08: ffffffff83bc263d R09: ffffed100eea68cf R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880313bf6f0 R13: ffff8880313bf238 R14: ffff888029e88900 R15: ffff888029e88000 FS: 00007f1075800700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560c99be2f50 CR3: 00000000777a0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: df 80 3c 08 00 74 filds 0x7400083c(%rax) 6: 08 4c 89 f7 or %cl,-0x9(%rcx,%rcx,4) a: e8 7e 10 1e fe callq 0xfe1e108d f: bb 8c 00 00 00 mov $0x8c,%ebx 14: 49 03 1e add (%r14),%rbx 17: 48 89 d8 mov %rbx,%rax 1a: 48 c1 e8 03 shr $0x3,%rax 1e: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 25: fc ff df * 28: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2c: 84 c0 test %al,%al 2e: 0f 85 4a 09 00 00 jne 0x97e 34: 8b 13 mov (%rbx),%edx 36: 45 31 e4 xor %r12d,%r12d 39: 4c 89 ff mov %r15,%rdi 3c: 31 f6 xor %esi,%esi