loop0: detected capacity change from 0 to 32768 gfs2: fsid=norgrplvb: Trying to join cluster "lock_nolock", "norgrplvb" gfs2: fsid=norgrplvb: Now mounting FS (format 1801)... gfs2: fsid=norgrplvb.0: journal 0 mapped with 3 extents in 0ms gfs2: fsid=norgrplvb.0: first mount done, others may mount syz.0.0: attempt to access beyond end of device loop0: rw=12288, sector=3377699720527872, nr_sectors = 4 limit=32768 gfs2: fsid=norgrplvb.0: fatal: invalid metadata block - bh = 844424930131968 (bad magic number), function = gfs2_quota_init, file = fs/gfs2/quota.c, line = 1430 gfs2: fsid=norgrplvb.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:340! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5314 Comm: syz.0.0 Not tainted 6.15.0-rc4-syzkaller-00208-g00b827f0cffa #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_withdraw+0x1461/0x14f0 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 31 f9 ff ff 48 8b 7c 24 10 e8 ea 05 2f fe e9 22 f9 ff ff e8 40 11 cd fd 90 <0f> 0b 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 83 f9 ff ff 48 RSP: 0018:ffffc9000d2e7680 EFLAGS: 00010283 RAX: ffffffff83f2af10 RBX: ffffc9000d2e7740 RCX: 0000000000100000 RDX: ffffc9000dfb2000 RSI: 00000000000e9556 RDI: 00000000000e9557 RBP: ffffc9000d2e7820 R08: ffff88801fe23e93 R09: 1ffff11003fc47d2 R10: dffffc0000000000 R11: ffffed1003fc47d3 R12: dffffc0000000000 R13: 1ffff92001a5cee4 R14: 1ffff110022ee015 R15: 0000000000000004 FS: 00007f09134e26c0(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bcc9986650 CR3: 000000004321c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_meta_check_ii+0x67/0x80 fs/gfs2/util.c:501 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_quota_init+0xf96/0x1230 fs/gfs2/quota.c:1430 gfs2_make_fs_rw+0x3fe/0x540 fs/gfs2/super.c:159 gfs2_fill_super+0x19f8/0x2050 fs/gfs2/ops_fstype.c:1274 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1636 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x8f/0x2b0 fs/super.c:1759 do_new_mount+0x24a/0xa40 fs/namespace.c:3884 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4412 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f091259010a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f09134e1e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f09134e1ef0 RCX: 00007f091259010a RDX: 000020000001f680 RSI: 000020000001f6c0 RDI: 00007f09134e1eb0 RBP: 000020000001f680 R08: 00007f09134e1ef0 R09: 0000000000000004 R10: 0000000000000004 R11: 0000000000000246 R12: 000020000001f6c0 R13: 00007f09134e1eb0 R14: 000000000001f758 R15: 00002000000000c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x1461/0x14f0 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 31 f9 ff ff 48 8b 7c 24 10 e8 ea 05 2f fe e9 22 f9 ff ff e8 40 11 cd fd 90 <0f> 0b 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 83 f9 ff ff 48 RSP: 0018:ffffc9000d2e7680 EFLAGS: 00010283 RAX: ffffffff83f2af10 RBX: ffffc9000d2e7740 RCX: 0000000000100000 RDX: ffffc9000dfb2000 RSI: 00000000000e9556 RDI: 00000000000e9557 RBP: ffffc9000d2e7820 R08: ffff88801fe23e93 R09: 1ffff11003fc47d2 R10: dffffc0000000000 R11: ffffed1003fc47d3 R12: dffffc0000000000 R13: 1ffff92001a5cee4 R14: 1ffff110022ee015 R15: 0000000000000004 FS: 00007f09134e26c0(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bcc9986650 CR3: 000000004321c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400