gfs2: fsid=syz:syz.0: journal 0 mapped with 3 extents in 1ms gfs2: fsid=syz:syz.0: can't find local "sc" file#0: -2 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: 17074 Comm: syz-executor.0 Not tainted 6.3.0-rc2-syzkaller-00050-g9c1bec9c0b08 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:evict_linked_inode fs/gfs2/super.c:1370 [inline] RIP: 0010:gfs2_evict_inode+0xa0b/0x14a0 fs/gfs2/super.c:1420 Code: fc ff df 80 3c 08 00 74 08 4c 89 f7 e8 0e df 26 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 18 09 00 00 8b 13 45 31 e4 4c 89 ff 31 f6 RSP: 0018:ffffc900164d7480 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 000000000000008c RCX: dffffc0000000000 RDX: ffffc900057a9000 RSI: 00000000000126cc RDI: 00000000000126cd RBP: ffffc900164d7620 R08: ffffffff83b2818d R09: ffffed100fb49826 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880340c6980 R13: ffff8880340c64c8 R14: ffff88801fbb8900 R15: ffff88801fbb8000 FS: 00007fcaa7795700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc3919fe000 CR3: 000000007cd71000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x2a4/0x620 fs/inode.c:665 gfs2_jindex_free+0x44d/0x500 fs/gfs2/super.c:75 init_journal+0x9f2/0x23e0 fs/gfs2/ops_fstype.c:871 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x1d02/0x2840 fs/gfs2/ops_fstype.c:1253 get_tree_bdev+0x402/0x620 fs/super.c:1294 gfs2_get_tree+0x54/0x210 fs/gfs2/ops_fstype.c:1338 vfs_get_tree+0x8c/0x270 fs/super.c:1501 do_new_mount+0x28f/0xae0 fs/namespace.c:3042 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3571 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:0x7fcaa6a8d62a 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:00007fcaa7794f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000012549 RCX: 00007fcaa6a8d62a RDX: 0000000020000040 RSI: 0000000020012500 RDI: 00007fcaa7794fe0 RBP: 00007fcaa7795020 R08: 00007fcaa7795020 R09: 0000000000204004 R10: 0000000000204004 R11: 0000000000000202 R12: 0000000020000040 R13: 0000000020012500 R14: 00007fcaa7794fe0 R15: 0000000020000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:evict_linked_inode fs/gfs2/super.c:1370 [inline] RIP: 0010:gfs2_evict_inode+0xa0b/0x14a0 fs/gfs2/super.c:1420 Code: fc ff df 80 3c 08 00 74 08 4c 89 f7 e8 0e df 26 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 18 09 00 00 8b 13 45 31 e4 4c 89 ff 31 f6 RSP: 0018:ffffc900164d7480 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 000000000000008c RCX: dffffc0000000000 RDX: ffffc900057a9000 RSI: 00000000000126cc RDI: 00000000000126cd RBP: ffffc900164d7620 R08: ffffffff83b2818d R09: ffffed100fb49826 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880340c6980 R13: ffff8880340c64c8 R14: ffff88801fbb8900 R15: ffff88801fbb8000 FS: 00007fcaa7795700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa5247fe000 CR3: 000000007cd71000 CR4: 00000000003506f0 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 0e df 26 fe callq 0xfe26df1d 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 18 09 00 00 jne 0x94c 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