================================================================== BUG: KASAN: global-out-of-bounds in pid_is_meaningful fs/gfs2/glock.c:1437 [inline] BUG: KASAN: global-out-of-bounds in dump_holder fs/gfs2/glock.c:2262 [inline] BUG: KASAN: global-out-of-bounds in gfs2_dump_glock+0x143b/0x1a00 fs/gfs2/glock.c:2376 Read of size 2 at addr ffffffff8b2c1640 by task syz-executor.5/10743 CPU: 1 PID: 10743 Comm: syz-executor.5 Not tainted 6.2.0-rc8-syzkaller-00098-gec35307e18ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/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:306 [inline] print_report+0x163/0x4f0 mm/kasan/report.c:417 kasan_report+0x13a/0x170 mm/kasan/report.c:517 pid_is_meaningful fs/gfs2/glock.c:1437 [inline] dump_holder fs/gfs2/glock.c:2262 [inline] gfs2_dump_glock+0x143b/0x1a00 fs/gfs2/glock.c:2376 gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:465 gfs2_dirent_scan+0x512/0x640 fs/gfs2/dir.c:602 gfs2_dirent_search+0x30e/0x8c0 fs/gfs2/dir.c:850 gfs2_dir_search+0xb2/0x2f0 fs/gfs2/dir.c:1650 gfs2_lookupi+0x460/0x5d0 fs/gfs2/inode.c:328 __gfs2_lookup+0xa4/0x270 fs/gfs2/inode.c:880 gfs2_atomic_open+0x9e/0x230 fs/gfs2/inode.c:1284 atomic_open fs/namei.c:3276 [inline] lookup_open fs/namei.c:3384 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0xf28/0x2e40 fs/namei.c:3711 do_filp_open+0x234/0x490 fs/namei.c:3741 do_sys_openat2+0x13f/0x500 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f132468c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f13253b1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f13247ac050 RCX: 00007f132468c0f9 RDX: 0000000000000000 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007f13246e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd6850e5f R14: 00007f13253b1300 R15: 0000000000022000 The buggy address belongs to the variable: .str.14+0x20/0x40 The buggy address belongs to the physical page: page:ffffea00002cb040 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb2c1 flags: 0xfff00000001000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000001000 ffffea00002cb048 ffffea00002cb048 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff8b2c1500: 00 00 02 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 ffffffff8b2c1580: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 07 >ffffffff8b2c1600: f9 f9 f9 f9 00 00 01 f9 f9 f9 f9 f9 00 00 00 00 ^ ffffffff8b2c1680: 02 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 ffffffff8b2c1700: 00 00 00 00 00 04 f9 f9 f9 f9 f9 f9 00 02 f9 f9 ==================================================================