================================================================== BUG: KCSAN: data-race in __cgroup_account_cputime / cgroup_rstat_flush_locked write to 0xffffe8ffffc6d788 of 8 bytes by task 1822 on cpu 0: __cgroup_account_cputime+0x67/0xc0 kernel/cgroup/rstat.c:371 cgroup_account_cputime include/linux/cgroup.h:797 [inline] update_curr+0xf6/0x280 kernel/sched/fair.c:877 task_fork_fair+0x5e/0x1d0 kernel/sched/fair.c:11188 sched_post_fork+0xbd/0xe0 kernel/sched/core.c:4462 copy_process+0x2af8/0x2f30 kernel/fork.c:2379 kernel_clone+0x15c/0x6a0 kernel/fork.c:2555 __do_sys_clone kernel/fork.c:2672 [inline] __se_sys_clone kernel/fork.c:2656 [inline] __x64_sys_clone+0xc6/0xf0 kernel/fork.c:2656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffe8ffffc6d788 of 8 bytes by task 1832 on cpu 1: cgroup_base_stat_flush kernel/cgroup/rstat.c:328 [inline] cgroup_rstat_flush_locked+0x2e8/0x7e0 kernel/cgroup/rstat.c:161 cgroup_rstat_flush_irqsafe+0x24/0x40 kernel/cgroup/rstat.c:215 __mem_cgroup_flush_stats mm/memcontrol.c:652 [inline] mem_cgroup_flush_stats+0x96/0xf0 mm/memcontrol.c:660 shrink_node+0x2f9/0x1190 mm/vmscan.c:3198 shrink_zones+0x2d1/0x5e0 mm/vmscan.c:3530 do_try_to_free_pages+0x181/0x720 mm/vmscan.c:3588 try_to_free_mem_cgroup_pages+0x1cb/0x420 mm/vmscan.c:3902 reclaim_high mm/memcontrol.c:2300 [inline] mem_cgroup_handle_over_high+0x15b/0x480 mm/memcontrol.c:2484 tracehook_notify_resume include/linux/tracehook.h:197 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x139/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000002adf944a4 -> 0x00000002ae13d534 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1832 Comm: syz-executor.1 Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== FAT-fs (loop1): Directory bread(block 6) failed FAT-fs (loop1): Directory bread(block 6) failed