A race condition vulnerability in the Linux kernel cgroup subsystem involving process migration during fork has been resolved. The flaw allowed a writer to migrate a newly forked process before it was fully linked to its cgroup, causing corruption of task lists and cgroup ownership. This regression reintroduced a previously fixed fork/migration race due to changes in locking mechanisms. The fix involves acquiring the new threadgroup's semaphore earlier and holding it through the fork process to prevent concurrent migration issues.