gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:6691 [syz-executor.4] iterate_dir+0x1cd/0x540 fs/readdir.c:106 gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:6692 [syz-executor.4] __gfs2_lookup+0xa4/0x270 fs/gfs2/inode.c:896 ================================================================== BUG: KASAN: vmalloc-out-of-bounds in gfs2_dump_glock+0x15b1/0x1ba0 Read of size 8 at addr ffffc90004aff740 by task syz-executor.4/6691 CPU: 1 PID: 6691 Comm: syz-executor.4 Not tainted 6.7.0-rc7-syzkaller-00049-g453f5db0619e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0x163/0x540 mm/kasan/report.c:475 kasan_report+0x142/0x170 mm/kasan/report.c:588 gfs2_dump_glock+0x15b1/0x1ba0 gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:456 gfs2_dirent_scan+0x512/0x640 fs/gfs2/dir.c:602 gfs2_dir_read+0x82f/0x1af0 fs/gfs2/dir.c:1599 gfs2_readdir+0x14e/0x1b0 fs/gfs2/file.c:116 iterate_dir+0x1cd/0x540 fs/readdir.c:106 __do_sys_getdents fs/readdir.c:322 [inline] __se_sys_getdents+0x1ef/0x4c0 fs/readdir.c:307 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f8f13a7cce9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8f148460c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f8f13b9c050 RCX: 00007f8f13a7cce9 RDX: 0000000000001000 RSI: 00000000200009c0 RDI: 0000000000000008 RBP: 00007f8f13ac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8f13b9c050 R15: 00007ffce88136c8 Memory state around the buggy address: ffffc90004aff600: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90004aff680: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc90004aff700: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90004aff780: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90004aff800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================