loop0: detected capacity change from 0 to 32768 gfs2: fsid=quota=off: Trying to join cluster "lock_nolock", "quota=off" gfs2: fsid=quota=off: Now mounting FS (format 0)... gfs2: fsid=quota=off.0: journal 0 mapped with 16 extents in 0ms gfs2: fsid=quota=off.0: first mount done, others may mount gfs2: fsid=quota=off.0: gfs2_check_dirent: gfs2_dirent too small (not first in block) gfs2: fsid=quota=off.0: fatal: filesystem consistency error - inode = 12 2341, function = gfs2_dirent_scan, file = fs/gfs2/dir.c, line = 589 gfs2: fsid=quota=off.0: G: s:SH n:2/925 f:aqob t:SH d:EX/0 a:0 v:0 r:2 m:20 p:1 gfs2: fsid=quota=off.0: H: s:SH f:H e:0 p:5118 [syz.0.0] __gfs2_lookup+0xa4/0x280 fs/gfs2/inode.c:896 gfs2: fsid=quota=off.0: I: n:12/2341 t:4 f:0x00 d:0x00000001 s:3864 p:0 gfs2: fsid=quota=off.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:340! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5118 Comm: syz.0.0 Not tainted 6.11.0-rc7-syzkaller #0 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+0x1459/0x1460 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 51 fd ff ff 48 8b 7c 24 10 e8 c2 c0 12 fe e9 42 fd ff ff e8 38 79 ab fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90002d8f2e0 EFLAGS: 00010283 RAX: ffffffff83e81378 RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc9000ba09000 RSI: 00000000000081de RDI: 00000000000081df RBP: ffffc90002d8f470 R08: ffffffff83e801ce R09: 1ffff920005b1dfc R10: dffffc0000000000 R11: fffff520005b1dfd R12: 1ffff110023b3015 R13: 1ffff920005b1e70 R14: dffffc0000000000 R15: ffff888011d98340 FS: 00007f790a9d56c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f790a9b4fe8 CR3: 000000001259a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_dirent_scan+0x52b/0x670 gfs2_dirent_search+0x30e/0x8c0 fs/gfs2/dir.c:853 gfs2_dir_search+0xb2/0x2f0 fs/gfs2/dir.c:1653 gfs2_lookupi+0x461/0x5e0 fs/gfs2/inode.c:340 __gfs2_lookup+0xa4/0x280 fs/gfs2/inode.c:896 gfs2_atomic_open+0x9e/0x230 fs/gfs2/inode.c:1297 atomic_open fs/namei.c:3441 [inline] lookup_open fs/namei.c:3549 [inline] open_last_lookups fs/namei.c:3647 [inline] path_openat+0xe8d/0x3470 fs/namei.c:3883 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_open fs/open.c:1439 [inline] __se_sys_open fs/open.c:1435 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1435 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7909b7cef9 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:00007f790a9d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7909d35f80 RCX: 00007f7909b7cef9 RDX: 0000000000000000 RSI: 0000000000064842 RDI: 00000000200000c0 RBP: 00007f7909bef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7909d35f80 R15: 00007ffcda4e6118 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x1459/0x1460 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 51 fd ff ff 48 8b 7c 24 10 e8 c2 c0 12 fe e9 42 fd ff ff e8 38 79 ab fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90002d8f2e0 EFLAGS: 00010283 RAX: ffffffff83e81378 RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc9000ba09000 RSI: 00000000000081de RDI: 00000000000081df RBP: ffffc90002d8f470 R08: ffffffff83e801ce R09: 1ffff920005b1dfc R10: dffffc0000000000 R11: fffff520005b1dfd R12: 1ffff110023b3015 R13: 1ffff920005b1e70 R14: dffffc0000000000 R15: ffff888011d98340 FS: 00007f790a9d56c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f78fe000000 CR3: 000000001259a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400