syz-executor.5 cpuset=syz5 mems_allowed=0-1 ================================================================== CPU: 1 PID: 8353 Comm: syz-executor.5 Not tainted 4.14.127 #21 BUG: KASAN: global-out-of-bounds in strscpy+0x20e/0x2c0 lib/string.c:206 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Read of size 8 at addr ffffffff8677bbe0 by task syz-executor.2/8367 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x138/0x19c lib/dump_stack.c:53 warn_alloc.cold+0x96/0x1af mm/page_alloc.c:3248 __vmalloc_node_range mm/vmalloc.c:1780 [inline] __vmalloc_node_range+0x3be/0x6a0 mm/vmalloc.c:1746 __vmalloc_node mm/vmalloc.c:1809 [inline] __vmalloc_node_flags mm/vmalloc.c:1823 [inline] vmalloc+0x46/0x50 mm/vmalloc.c:1845 sel_write_load+0x1a0/0x1050 security/selinux/selinuxfs.c:495 __vfs_write+0x105/0x6b0 fs/read_write.c:480 vfs_write+0x198/0x500 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xfd/0x230 fs/read_write.c:582 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4592c9 RSP: 002b:00007fe645c6ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe645c6f6d4 R13: 00000000004c9279 R14: 00000000004e0280 R15: 00000000ffffffff CPU: 0 PID: 8367 Comm: syz-executor.2 Not tainted 4.14.127 #21 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+0xa9/0x2af 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 warn_alloc_show_mem: 1 callbacks suppressed Mem-Info: __reiserfs_warning+0x9f/0xb0 fs/reiserfs/prints.c:288 active_anon:80645 inactive_anon:189 isolated_anon:0 active_file:8093 inactive_file:10501 isolated_file:0 unevictable:0 dirty:234 writeback:0 unstable:0 slab_reclaimable:12315 slab_unreclaimable:106881 mapped:58830 shmem:242 pagetables:963 bounce:0 free:1317186 free_pcp:220 free_cma:0 reiserfs_getopt fs/reiserfs/super.c:1063 [inline] reiserfs_parse_options+0x153e/0x1820 fs/reiserfs/super.c:1194 Node 0 active_anon:322580kB inactive_anon:756kB active_file:32232kB inactive_file:42004kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:235320kB dirty:928kB writeback:0kB shmem:968kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 172032kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no reiserfs_fill_super+0x461/0x2b20 fs/reiserfs/super.c:1946 Node 1 active_anon:0kB inactive_anon:0kB active_file:140kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:8kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no mount_bdev+0x2be/0x370 fs/super.c:1134 get_super_block+0x35/0x40 fs/reiserfs/super.c:2605 mount_fs+0x97/0x2a1 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 Node 0 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xab/0x120 fs/namespace.c:3072 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 DMA free:15908kB min:216kB low:268kB high:320kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45bd1a RSP: 002b:00007f243e2a2a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f243e2a2b40 RCX: 000000000045bd1a RDX: 00007f243e2a2ae0 RSI: 0000000020000240 RDI: 00007f243e2a2b00 RBP: 0000000000000003 R08: 00007f243e2a2b40 R09: 00007f243e2a2ae0 R10: 0000000000000010 R11: 0000000000000206 R12: 0000000000000005 R13: 00000000004c830d R14: 00000000004deb70 R15: 00000000ffffffff lowmem_reserve[]: The buggy address belongs to the variable: __func__.31301+0x980/0x3a60 Memory state around the buggy address: ffffffff8677ba80: fa fa fa fa 00 03 fa fa fa fa fa fa 00 03 fa fa ffffffff8677bb00: fa fa fa fa 00 00 00 00 00 06 fa fa fa fa fa fa >ffffffff8677bb80: 00 03 fa fa fa fa fa fa 00 00 00 00 06 fa fa fa ^ 0 ffffffff8677bc00: fa fa fa fa 00 03 fa fa fa fa fa fa 00 00 00 00 ffffffff8677bc80: 05 fa fa fa fa fa fa fa 00 03 fa fa fa fa fa fa ==================================================================