================================================================== BUG: KCSAN: data-race in page_counter_try_charge / page_counter_try_charge write to 0xffff88821b672150 of 8 bytes by task 23467 on cpu 1: page_counter_try_charge+0x7e/0x170 mm/page_counter.c:139 try_charge+0x185/0xbf0 mm/memcontrol.c:2405 __memcg_kmem_charge_memcg+0x4a/0xe0 mm/memcontrol.c:2837 __memcg_kmem_charge+0xcf/0x1b0 mm/memcontrol.c:2877 __alloc_pages_nodemask+0x26c/0x310 mm/page_alloc.c:4755 alloc_pages_current+0xd1/0x170 mm/mempolicy.c:2211 alloc_pages include/linux/gfp.h:532 [inline] __pte_alloc_one include/asm-generic/pgalloc.h:63 [inline] pte_alloc_one+0x18/0x50 arch/x86/mm/pgtable.c:26 __do_huge_pmd_anonymous_page mm/huge_memory.c:603 [inline] do_huge_pmd_anonymous_page+0x394/0xff0 mm/huge_memory.c:777 create_huge_pmd mm/memory.c:3924 [inline] __handle_mm_fault+0x1d78/0x2e00 mm/memory.c:4134 handle_mm_fault+0x21b/0x530 mm/memory.c:4200 do_user_addr_fault arch/x86/mm/fault.c:1442 [inline] do_page_fault+0x496/0xa3d arch/x86/mm/fault.c:1517 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1203 read to 0xffff88821b672150 of 8 bytes by task 23461 on cpu 0: page_counter_try_charge+0x58/0x170 mm/page_counter.c:138 try_charge+0x185/0xbf0 mm/memcontrol.c:2405 __memcg_kmem_charge_memcg+0x4a/0xe0 mm/memcontrol.c:2837 __memcg_kmem_charge+0xcf/0x1b0 mm/memcontrol.c:2877 memcg_kmem_charge include/linux/memcontrol.h:1395 [inline] memcg_charge_kernel_stack kernel/fork.c:427 [inline] dup_task_struct kernel/fork.c:882 [inline] copy_process+0x12bc/0x3b40 kernel/fork.c:1926 _do_fork+0xfe/0x7a0 kernel/fork.c:2436 __do_sys_clone kernel/fork.c:2591 [inline] __se_sys_clone kernel/fork.c:2572 [inline] __x64_sys_clone+0x130/0x170 kernel/fork.c:2572 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 23461 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 ==================================================================