ri_length = 1 ri_data0 = 19 ri_data = 2060 ri_bitbytes = 514 start=0 len=514 offset=128 gfs2: fsid=syz:syz.s: R: n:18 f:00 b:0/0 i:0 q:0 r:0 e:0 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 5069 Comm: syz-executor363 Not tainted 6.1.0-syzkaller-14321-g0a924817d2ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:gfs2_rgrp_dump+0x1bc/0x500 fs/gfs2/rgrp.c:2313 Code: ca fd 49 8d 5e 68 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 52 7c 20 fe 48 8b 2b 48 8d 7d 04 48 89 f8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 d4 02 00 00 8b 4d 04 48 8d 7d 08 48 89 f8 RSP: 0018:ffffc90003c6f3f8 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff8880777e2068 RCX: ffff888077eb1d40 RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000000000004 RBP: 0000000000000000 R08: ffffffff83c10361 R09: fffff5200078de0d R10: fffff5200078de0d R11: 1ffff9200078de0c R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880777e2000 R15: ffffc90003c6f4a0 FS: 0000555556459300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc34913000 CR3: 0000000072512000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_rgrpd_i+0xd1/0x190 fs/gfs2/util.c:480 read_rindex_entry fs/gfs2/rgrp.c:931 [inline] gfs2_ri_update+0xc5b/0x1730 fs/gfs2/rgrp.c:1001 gfs2_rindex_update+0x2f8/0x3a0 fs/gfs2/rgrp.c:1051 init_inodes+0x242/0x340 fs/gfs2/ops_fstype.c:917 gfs2_fill_super+0x1bb2/0x2700 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x400/0x620 fs/super.c:1282 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x88/0x270 fs/super.c:1489 do_new_mount+0x289/0xad0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd075cfebda Code: 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 49 89 ca b8 a5 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:00007ffc349122e8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd075cfebda RDX: 00000000200124c0 RSI: 0000000020000000 RDI: 00007ffc34912300 RBP: 00007ffc34912300 R08: 00007ffc34912340 R09: 0000000000012511 R10: 0000000000000002 R11: 0000000000000282 R12: 0000000000000004 R13: 00005555564592c0 R14: 0000000000000002 R15: 00007ffc34912340 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_rgrp_dump+0x1bc/0x500 fs/gfs2/rgrp.c:2313 Code: ca fd 49 8d 5e 68 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 52 7c 20 fe 48 8b 2b 48 8d 7d 04 48 89 f8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 d4 02 00 00 8b 4d 04 48 8d 7d 08 48 89 f8 RSP: 0018:ffffc90003c6f3f8 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff8880777e2068 RCX: ffff888077eb1d40 RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000000000004 RBP: 0000000000000000 R08: ffffffff83c10361 R09: fffff5200078de0d R10: fffff5200078de0d R11: 1ffff9200078de0c R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880777e2000 R15: ffffc90003c6f4a0 FS: 0000555556459300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc34913000 CR3: 0000000072512000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ca fd 49 lret $0x49fd 3: 8d 5e 68 lea 0x68(%rsi),%ebx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 52 7c 20 fe callq 0xfe207c6e 1c: 48 8b 2b mov (%rbx),%rbp 1f: 48 8d 7d 04 lea 0x4(%rbp),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 8a 04 28 mov (%rax,%r13,1),%al <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 d4 02 00 00 jne 0x30a 36: 8b 4d 04 mov 0x4(%rbp),%ecx 39: 48 8d 7d 08 lea 0x8(%rbp),%rdi 3d: 48 89 f8 mov %rdi,%rax