print_req_error: I/O error, dev loop5, sector 16 ================================================================== BUG: KASAN: global-out-of-bounds in strscpy+0x20e/0x2c0 lib/string.c:206 Read of size 8 at addr ffffffff8677c168 by task syz-executor.5/9153 CPU: 0 PID: 9153 Comm: syz-executor.5 Not tainted 4.14.113 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x138/0x19c lib/dump_stack.c:53 print_address_description.cold+0x5/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xaf/0x2b5 mm/kasan/report.c:393 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 strscpy+0x20e/0x2c0 lib/string.c:206 prepare_error_buf+0x94/0x1aa0 fs/reiserfs/prints.c:213 __reiserfs_warning+0x9f/0xb0 fs/reiserfs/prints.c:288 read_super_block+0x688/0x8c0 fs/reiserfs/super.c:1619 reiserfs_fill_super+0x693/0x2b20 fs/reiserfs/super.c:1972 mount_bdev+0x2c1/0x370 fs/super.c:1134 get_super_block+0x35/0x40 fs/reiserfs/super.c:2605 mount_fs+0x9d/0x2a7 fs/super.c:1237 vfs_kern_mount.part.0+0x5e/0x3d0 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0x417/0x27d0 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xab/0x120 fs/namespace.c:3072 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x458c29 RSP: 002b:00007f2e24694c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000458c29 RDX: 0000000020000200 RSI: 00000000200001c0 RDI: 0000000020000180 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2e246956d4 R13: 00000000004c4c0e R14: 00000000004d8888 R15: 00000000ffffffff The buggy address belongs to the variable: __func__.31266+0x1848/0x3a60 Memory state around the buggy address: ffffffff8677c000: 00 00 00 06 fa fa fa fa 00 00 00 fa fa fa fa fa ffffffff8677c080: 00 03 fa fa fa fa fa fa 04 fa fa fa fa fa fa fa >ffffffff8677c100: 04 fa fa fa fa fa fa fa 00 00 00 00 00 03 fa fa ^ ffffffff8677c180: fa fa fa fa 00 fa fa fa fa fa fa fa 00 fa fa fa ffffffff8677c200: fa fa fa fa 00 00 00 00 00 00 00 00 03 fa fa fa ==================================================================