toolchain: LLVM 12.0.0 config: defconfig + kcsan.config ================================================================== BUG: KCSAN: data-race in capable / cgroup_freezer_migrate_task write to 0xffff061797850e2c of 4 bytes by task 1882 on cpu 16: capable+0x6c/0x9c __do_sys_prctl+0x66c/0xe70 __arm64_sys_prctl+0x68/0x80 invoke_syscall+0x54/0x160 el0_svc_common+0xc0/0x148 do_el0_svc+0x38/0xa8 el0_svc+0x20/0x50 el0t_64_sync_handler+0x68/0xac el0t_64_sync+0x180/0x184 read to 0xffff061797850e2c of 4 bytes by task 1 on cpu 12: cgroup_freezer_migrate_task+0x3c/0x1a8 cgroup_migrate_execute+0x22c/0x61c cgroup_migrate+0x240/0x264 cgroup_attach_task+0xec/0x12c __cgroup1_procs_write+0x14c/0x1c4 cgroup1_procs_write+0x14/0x20 cgroup_file_write+0x10c/0x24c kernfs_fop_write_iter+0x144/0x20c vfs_write+0x468/0x59c ksys_write+0x9c/0x11c __arm64_sys_write+0x44/0x58 invoke_syscall+0x54/0x160 el0_svc_common+0x100/0x148 do_el0_svc+0x38/0xa8 el0_svc+0x20/0x50 el0t_64_sync_handler+0x68/0xac el0t_64_sync+0x180/0x184 value changed: 0x00404040 -> 0x00404140 Reported by Kernel Concurrency Sanitizer on: CPU: 12 PID: 1 Comm: systemd Not tainted 5.16.0-rc4-00002-g5854738642b4 #1 Hardware name: linux,dummy-virt (DT) ==================================================================