================================================================== BUG: KCSAN: data-race in page_counter_try_charge / page_counter_try_charge write to 0xffff88821b672150 of 8 bytes by task 9650 on cpu 0: page_counter_try_charge+0x77/0x170 mm/page_counter.c:139 try_charge+0x17f/0xbe0 mm/memcontrol.c:2405 mem_cgroup_try_charge+0xd7/0x260 mm/memcontrol.c:6367 mem_cgroup_try_charge_delay+0x36/0x70 mm/memcontrol.c:6382 shmem_getpage_gfp+0x3f5/0x14c0 mm/shmem.c:1872 shmem_fault+0x117/0x480 mm/shmem.c:2067 __do_fault+0xa8/0x1e0 mm/memory.c:3276 do_read_fault mm/memory.c:3673 [inline] do_fault mm/memory.c:3802 [inline] handle_pte_fault mm/memory.c:4033 [inline] __handle_mm_fault+0x2611/0x2cf0 mm/memory.c:4163 handle_mm_fault+0x21c/0x540 mm/memory.c:4200 faultin_page mm/gup.c:659 [inline] __get_user_pages+0x485/0x1140 mm/gup.c:870 populate_vma_page_range+0xdc/0x100 mm/gup.c:1181 __mm_populate+0x168/0x2b0 mm/gup.c:1229 mm_populate include/linux/mm.h:2343 [inline] vm_mmap_pgoff+0x185/0x190 mm/util.c:511 ksys_mmap_pgoff+0x96/0x420 mm/mmap.c:1597 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88821b672150 of 8 bytes by task 9628 on cpu 1: page_counter_try_charge+0x56/0x170 mm/page_counter.c:138 try_charge+0x17f/0xbe0 mm/memcontrol.c:2405 mem_cgroup_try_charge+0xd7/0x260 mm/memcontrol.c:6367 mem_cgroup_try_charge_delay+0x36/0x70 mm/memcontrol.c:6382 shmem_getpage_gfp+0x3f5/0x14c0 mm/shmem.c:1872 shmem_fault+0x117/0x480 mm/shmem.c:2067 __do_fault+0xa8/0x1e0 mm/memory.c:3276 do_read_fault mm/memory.c:3673 [inline] do_fault mm/memory.c:3802 [inline] handle_pte_fault mm/memory.c:4033 [inline] __handle_mm_fault+0x2611/0x2cf0 mm/memory.c:4163 handle_mm_fault+0x21c/0x540 mm/memory.c:4200 faultin_page mm/gup.c:659 [inline] __get_user_pages+0x485/0x1140 mm/gup.c:870 populate_vma_page_range+0xdc/0x100 mm/gup.c:1181 __mm_populate+0x168/0x2b0 mm/gup.c:1229 mm_populate include/linux/mm.h:2343 [inline] vm_mmap_pgoff+0x185/0x190 mm/util.c:511 ksys_mmap_pgoff+0x96/0x420 mm/mmap.c:1597 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9628 Comm: syz-executor.1 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================