REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (loop0) REISERFS (device loop0): Using r5 hash to sort names REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. ================================================================== BUG: KASAN: out-of-bounds in strlen+0x79/0x90 lib/string.c:539 Read of size 1 at addr ffff88808af3e9cc by task syz-executor304/8104 CPU: 0 PID: 8104 Comm: syz-executor304 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_load1_noabort+0x88/0x90 mm/kasan/report.c:430 strlen+0x79/0x90 lib/string.c:539 strlen include/linux/string.h:299 [inline] set_de_name_and_namelen fs/reiserfs/namei.c:82 [inline] search_by_entry_key+0x91e/0xf30 fs/reiserfs/namei.c:171 reiserfs_readdir_inode+0x24b/0x13a0 fs/reiserfs/dir.c:98 iterate_dir+0x473/0x5c0 fs/readdir.c:51 ksys_getdents64+0x175/0x2b0 fs/readdir.c:357 __do_sys_getdents64 fs/readdir.c:376 [inline] __se_sys_getdents64 fs/readdir.c:373 [inline] __x64_sys_getdents64+0x6f/0xb0 fs/readdir.c:373 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f75111a5799 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffee85a7438 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f75111a5799 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f7511165030 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000010e3 R11: 0000000000000246 R12: 00007f75111650c0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the page: page:ffffea00022bcf80 count:1 mapcount:1 mapping:ffff8880a33d9699 index:0x55ba5fd8a flags: 0xfff00000040068(uptodate|lru|active|swapbacked) raw: 00fff00000040068 ffffea00022bcf48 ffffea00022bcfc8 ffff8880a33d9699 raw: 000000055ba5fd8a 0000000000000000 0000000100000000 ffff8880b59f68c0 page dumped because: kasan: bad access detected page->mem_cgroup:ffff8880b59f68c0 Memory state around the buggy address: ffff88808af3e880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88808af3e900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88808af3e980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88808af3ea00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88808af3ea80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================