================================================================== BUG: KCSAN: data-race in expand_downwards / vmacache_find write to 0xffff888120d503e8 of 8 bytes by task 791 on cpu 1: expand_downwards+0x6d0/0x9c0 mm/mmap.c:2507 expand_stack+0x19/0x20 mm/mmap.c:2564 do_user_addr_fault+0x67e/0x770 arch/x86/mm/fault.c:1266 handle_page_fault arch/x86/mm/fault.c:1351 [inline] exc_page_fault+0xb8/0x330 arch/x86/mm/fault.c:1404 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:538 do_strncpy_from_user lib/strncpy_from_user.c:56 [inline] strncpy_from_user+0x205/0x2e0 lib/strncpy_from_user.c:121 getname_flags+0xb8/0x3d0 fs/namei.c:149 getname+0x15/0x20 fs/namei.c:209 do_sys_openat2+0x2f2/0x500 fs/open.c:1162 do_sys_open fs/open.c:1184 [inline] __do_sys_openat fs/open.c:1200 [inline] __se_sys_openat fs/open.c:1195 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1195 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888120d503e8 of 8 bytes by task 786 on cpu 0: vmacache_find+0xcb/0x320 mm/vmacache.c:79 find_vma mm/mmap.c:2261 [inline] find_extend_vma+0x28/0x200 mm/mmap.c:2574 __get_user_pages+0x1c5/0x1010 mm/gup.c:1045 populate_vma_page_range mm/gup.c:1420 [inline] __mm_populate+0x24d/0x340 mm/gup.c:1468 mm_populate include/linux/mm.h:2564 [inline] vm_mmap_pgoff+0x133/0x170 mm/util.c:511 ksys_mmap_pgoff+0xe1/0x380 mm/mmap.c:1596 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 786 Comm: syz-executor.5 Not tainted 5.9.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================