gfs2: fsid=statfs_quantum: Now mounting FS (format 1801)... gfs2: fsid=statfs_quantum.s: journal 0 mapped with 16 extents in 0ms gfs2: fsid=statfs_quantum.s: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5807 at fs/gfs2/rgrp.c:2628 gfs2_check_blk_type+0x403/0x650 fs/gfs2/rgrp.c:2628 Modules linked in: CPU: 0 UID: 0 PID: 5807 Comm: syz.0.15 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:gfs2_check_blk_type+0x403/0x650 fs/gfs2/rgrp.c:2628 Code: 04 28 84 c0 0f 85 f5 01 00 00 8b 1b 89 df 44 89 e6 e8 41 6c c1 fd 44 39 e3 76 26 e8 77 6a c1 fd 31 db eb 74 e8 6e 6a c1 fd 90 <0f> 0b 90 bb f9 ff ff ff 49 bd 00 00 00 00 00 fc ff df e9 1c 01 00 RSP: 0018:ffffc90002c3f820 EFLAGS: 00010293 RAX: ffffffff83fe533c RBX: 0000000000000000 RCX: ffff888030f28000 RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000013 RBP: ffffc90002c3f930 R08: ffff8880424f6647 R09: 1ffff1100849ecc8 R10: dffffc0000000000 R11: ffffed100849ecc9 R12: 0000000000000012 R13: 0000000000000013 R14: ffff88803f111028 R15: 1ffff11007e22206 FS: 00007f2e310176c0(0000) GS:ffff88808d20c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3235ffff CR3: 0000000059daf000 CR4: 0000000000352ef0 Call Trace: gfs2_inode_lookup+0x9c5/0xb10 fs/gfs2/inode.c:178 gfs2_lookup_by_inum+0x52/0x100 fs/gfs2/inode.c:251 gfs2_get_dentry fs/gfs2/export.c:139 [inline] gfs2_fh_to_dentry+0x136/0x1f0 fs/gfs2/export.c:160 exportfs_decode_fh_raw+0x175/0x6e0 fs/exportfs/expfs.c:456 do_handle_to_path+0xa4/0x1a0 fs/fhandle.c:262 handle_to_path fs/fhandle.c:386 [inline] do_handle_open+0x682/0x8c0 fs/fhandle.c:401 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2e3017e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2e31017038 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 RAX: ffffffffffffffda RBX: 00007f2e30335f80 RCX: 00007f2e3017e719 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f2e301f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2e30335f80 R15: 00007ffffa5e1888