audit: type=1804 audit(1555838227.021:68): pid=7882 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op="invalid_pcr" cause="ToMToU" comm="syz-executor.5" name="/root/syzkaller-testdir020778824/syzkaller.BYBuP3/43/bus" dev="sda1" ino=16641 res=1 ================================================================== BUG: KASAN: global-out-of-bounds in strscpy+0x20e/0x2c0 lib/string.c:206 Read of size 8 at addr ffffffff8677b558 by task syz-executor.3/7917 CPU: 1 PID: 7917 Comm: syz-executor.3 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 audit: type=1804 audit(1555838227.081:69): pid=7894 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op="invalid_pcr" cause="open_writers" comm="syz-executor.3" name="/root/syzkaller-testdir762041274/syzkaller.cUNnJ8/41/bus" dev="sda1" ino=16652 res=1 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_parse_options+0x13cd/0x1820 fs/reiserfs/super.c:1227 input: syz1 as /devices/virtual/input/input7 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 kobject: 'event4' (ffff888067e4ed78): kobject_add_internal: parent: 'input7', set: 'devices' 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 kobject: 'event4' (ffff888067e4ed78): kobject_uevent_env entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45b69a RSP: 002b:00007f53cf40da88 EFLAGS: 00000206 kobject: 'event4' (ffff888067e4ed78): fill_kobj_path: path = '/devices/virtual/input/input7/event4' ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f53cf40db40 RCX: 000000000045b69a RDX: 00007f53cf40dae0 RSI: 00000000200000c0 RDI: 00007f53cf40db00 RBP: 0000000000000000 R08: 00007f53cf40db40 R09: 00007f53cf40dae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003 R13: 00000000004c782d R14: 00000000004dd880 R15: 00000000ffffffff The buggy address belongs to the variable: kobject: 'event4' (ffff888067e4ed78): kobject_uevent_env __func__.31266+0xc38/0x3a60 Memory state around the buggy address: ffffffff8677b400: 00 03 fa fa fa fa fa fa 00 00 00 00 fa fa fa fa ffffffff8677b480: 05 fa fa fa fa fa fa fa 00 00 00 03 fa fa fa fa >ffffffff8677b500: 00 03 fa fa fa fa fa fa 00 00 00 03 fa fa fa fa ^ kobject: 'event4' (ffff888067e4ed78): fill_kobj_path: path = '/devices/virtual/input/input7/event4' ffffffff8677b580: 00 03 fa fa fa fa fa fa 00 00 00 00 00 fa fa fa ffffffff8677b600: fa fa fa fa 00 03 fa fa fa fa fa fa 00 00 00 00 ==================================================================