loop0: detected capacity change from 0 to 32768 gfs2: fsid=_\\:: Trying to join cluster "lock_nolock", "_\\:" gfs2: fsid=_\\:: Now mounting FS (format 0)... gfs2: fsid=_\\:.s: gfs2_check_dirent: zero inode number (not first in block) gfs2: fsid=_\\:.s: fatal: filesystem consistency error - inode = 3 2074, function = gfs2_dirent_scan, file = fs/gfs2/dir.c, line = 589 gfs2: fsid=_\\:.s: G: s:SH n:2/81a f:aqob t:SH d:EX/0 a:0 v:0 r:2 m:20 p:1 gfs2: fsid=_\\:.s: H: s:SH f:H e:0 p:5332 [syz.0.0] init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:851 gfs2: fsid=_\\:.s: I: n:3/2074 t:4 f:0x00 d:0x00000201 s:3864 p:0 gfs2: fsid=_\\:.s: 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: 5332 Comm: syz.0.0 Not tainted 6.15.0-syzkaller-13655-gbdc7f8c5adad #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+0x1463/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 88 d2 2a fe e9 22 f9 ff ff e8 9e 5b c7 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:ffffc9000d37f500 EFLAGS: 00010283 RAX: ffffffff83f90082 RBX: ffffc9000d37f5c0 RCX: 0000000000100000 RDX: ffffc9000ea9b000 RSI: 000000000000e1ac RDI: 000000000000e1ad RBP: ffffc9000d37f690 R08: ffff88801fc24293 R09: 1ffff11003f84852 R10: dffffc0000000000 R11: ffffed1003f84853 R12: dffffc0000000000 R13: 1ffff92001a6feb4 R14: 1ffff11006c31015 R15: 0000000000000004 FS: 00007f3a6d3d36c0(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e64281000 CR3: 0000000043b4b000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_dirent_scan+0x545/0x690 fs/gfs2/dir.c:-1 gfs2_dirent_search+0x2e0/0x7e0 fs/gfs2/dir.c:853 gfs2_dir_check+0x4a/0x240 fs/gfs2/dir.c:1683 gfs2_jindex_hold fs/gfs2/ops_fstype.c:554 [inline] init_journal+0x377/0x2260 fs/gfs2/ops_fstype.c:716 init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:851 gfs2_fill_super+0x1939/0x20e0 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1679 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8f/0x2b0 fs/super.c:1802 do_new_mount+0x24a/0xa40 fs/namespace.c:3856 do_mount fs/namespace.c:4193 [inline] __do_sys_mount fs/namespace.c:4404 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4381 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:0x7f3a6c5900ca 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:00007f3a6d3d2e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3a6d3d2ef0 RCX: 00007f3a6c5900ca RDX: 0000200000000000 RSI: 0000200000000100 RDI: 00007f3a6d3d2eb0 RBP: 0000200000000000 R08: 00007f3a6d3d2ef0 R09: 0000000000208c1b R10: 0000000000208c1b R11: 0000000000000246 R12: 0000200000000100 R13: 00007f3a6d3d2eb0 R14: 00000000000127bf R15: 0000200000000900 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x1463/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 88 d2 2a fe e9 22 f9 ff ff e8 9e 5b c7 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:ffffc9000d37f500 EFLAGS: 00010283 RAX: ffffffff83f90082 RBX: ffffc9000d37f5c0 RCX: 0000000000100000 RDX: ffffc9000ea9b000 RSI: 000000000000e1ac RDI: 000000000000e1ad RBP: ffffc9000d37f690 R08: ffff88801fc24293 R09: 1ffff11003f84852 R10: dffffc0000000000 R11: ffffed1003f84853 R12: dffffc0000000000 R13: 1ffff92001a6feb4 R14: 1ffff11006c31015 R15: 0000000000000004 FS: 00007f3a6d3d36c0(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055606d9cc640 CR3: 0000000043b4b000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400