[PATCH 5.10 058/110] cgroup: Fix potential overflow issue when checking max_depth