loop0: detected capacity change from 0 to 32768 gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... gfs2: fsid=syz:syz.0: journal 0 mapped with 9 extents in 0ms gfs2: fsid=syz:syz.0: first mount done, others may mount gfs2: fsid=syz:syz.0: found 1 quota changes syz.0.0: attempt to access beyond end of device loop0: rw=2049, sector=68719479088, nr_sectors = 8 limit=32768 syz.0.0: attempt to access beyond end of device loop0: rw=8402945, sector=68719479080, nr_sectors = 8 limit=32768 Buffer I/O error on dev loop0, logical block 8589934885, lost async page write syz.0.0: attempt to access beyond end of device loop0: rw=8400896, sector=68719479080, nr_sectors = 8 limit=32768 syz.0.0: attempt to access beyond end of device loop0: rw=8400896, sector=68719479080, nr_sectors = 8 limit=32768 loop0: detected capacity change from 32768 to 0 ------------[ cut here ]------------ error WARNING: fs/gfs2/rgrp.c:2628 at gfs2_check_blk_type+0x458/0x690 fs/gfs2/rgrp.c:2628, CPU#0: syz.0.0/5317 Modules linked in: CPU: 0 UID: 0 PID: 5317 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:gfs2_check_blk_type+0x458/0x690 fs/gfs2/rgrp.c:2628 Code: e0 01 00 00 8b 1b 89 df 44 89 f6 e8 d2 4f 74 fd 4d 89 f5 44 39 f3 76 2e e8 b5 4d 74 fd 31 db e9 84 00 00 00 e8 a9 4d 74 fd 90 <0f> 0b 90 bb f9 ff ff ff 49 bd 00 00 00 00 00 fc ff df 4c 8b 64 24 RSP: 0018:ffffc9000f6f7860 EFLAGS: 00010283 RAX: ffffffff84539eb4 RBX: 0000000000000d00 RCX: 0000000000100000 RDX: ffffc9000ed99000 RSI: 00000000000002b9 RDI: 00000000000002ba RBP: ffffc9000f6f7950 R08: ffff888043e74327 R09: 1ffff110087ce864 R10: dffffc0000000000 R11: ffffed10087ce865 R12: ffff88804456f960 R13: 000000020000001c R14: ffffc9000f6f78a0 R15: 1ffff110088adf32 FS: 00007fdc078486c0(0000) GS:ffff88808c2bf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000013440 CR3: 000000001251b000 CR4: 0000000000352ef0 Call Trace: gfs2_inode_lookup+0xacb/0xc30 fs/gfs2/inode.c:192 gfs2_lookup_by_inum+0x52/0x100 fs/gfs2/inode.c:265 gfs2_get_dentry fs/gfs2/export.c:139 [inline] gfs2_fh_to_dentry+0x136/0x1f0 fs/gfs2/export.c:160 exportfs_decode_fh_raw+0x1c8/0x770 fs/exportfs/expfs.c:456 do_handle_to_path+0xa4/0x1a0 fs/fhandle.c:274 handle_to_path fs/fhandle.c:409 [inline] do_handle_open+0x6d2/0xae0 fs/fhandle.c:433 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdc0699e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc07847fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 RAX: ffffffffffffffda RBX: 00007fdc06c25fa0 RCX: 00007fdc0699e159 RDX: 0000000000202000 RSI: 0000200000013440 RDI: 0000000000000007 RBP: 00007fdc06a3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdc06c26038 R14: 00007fdc06c25fa0 R15: 00007ffe8ef722a8