RDX: 0000000020000100 RSI: 00000000400452c8 RDI: 0000000000000005 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc236b626d4 R13: 00000000004c11a7 R14: 00000000004d37a0 R15: 0000000000000004 ================================================================== BUG: KASAN: global-out-of-bounds in strscpy+0x20e/0x2c0 lib/string.c:206 Read of size 8 at addr ffffffff8677b0b8 by task syz-executor.4/9686 CPU: 0 PID: 9686 Comm: syz-executor.4 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 reiserfs_getopt fs/reiserfs/super.c:1044 [inline] reiserfs_parse_options+0xa16/0x1820 fs/reiserfs/super.c:1194 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 reiserfs_fill_super+0x461/0x2b20 fs/reiserfs/super.c:1946 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:0x45b69a RSP: 002b:00007fc0b124ea88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc0b124eb40 RCX: 000000000045b69a RDX: 00007fc0b124eae0 RSI: 0000000020000280 RDI: 00007fc0b124eb00 RBP: 000000000000000a R08: 00007fc0b124eb40 R09: 00007fc0b124eae0 R10: 0000000000008000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c782d R14: 00000000004dd880 R15: 00000000ffffffff CPU: 1 PID: 9698 Comm: syz-executor.1 Not tainted 4.14.113 #3 The buggy address belongs to the variable: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 __func__.31266+0x798/0x3a60 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x138/0x19c lib/dump_stack.c:53 Memory state around the buggy address: fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10f/0x159 lib/fault-inject.c:149 ffffffff8677af80: fa fa fa fa 00 02 fa fa fa fa fa fa 00 02 fa fa should_failslab+0xdb/0x130 mm/failslab.c:32 ffffffff8677b000: fa fa fa fa 06 fa fa fa fa fa fa fa 07 fa fa fa slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] __do_kmalloc mm/slab.c:3718 [inline] __kmalloc+0x2f3/0x7a0 mm/slab.c:3729 >ffffffff8677b080: fa fa fa fa 00 00 00 02 fa fa fa fa 00 03 fa fa ^ ffffffff8677b100: fa fa fa fa 00 00 03 fa fa fa fa fa 00 03 fa fa ffffffff8677b180: fa fa fa fa 00 03 fa fa fa fa fa fa 00 00 00 00 kmalloc_array include/linux/slab.h:607 [inline] kobj_map+0x70/0x3c0 drivers/base/map.c:44 ==================================================================