Skip to content

cgroupns: Locking and semantic fixes

Eric W. Biederman cgroups 1 version Applied

Status from this message: Applied to cgroup/for-4.7-fixes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3cgroupns: Fix the locking in copy_cgroup_nskernel/cgroup.c+1 -40 replies
1/3cgroupns: Fix the locking in copy_cgroup_nskernel/cgroup.c+1 -40 replies
2/3cgroupns: Close race between cgroup_post_fork and copy_cgroup_nskernel/cgroup.c+5 -00 replies
2/3cgroupns: Close race between cgroup_post_fork and copy_cgroup_nskernel/cgroup.c+5 -01 reply
3/3cgroupns: Only allow creation of hierarchies in the initial cgroup namespacekernel/cgroup.c+2 -62 replies
3/3cgroupns: Only allow creation of hierarchies in the initial cgroup namespacekernel/cgroup.c+2 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] cgroupns: Locking and semantic fixes

While going through the cgroup namespace I found a couple of significant bugs. The first bug I fix could cause a kernel deadlock. The second fixes a rare race that if it happens we get insane semantics. The third removes an allowance that could not possibly be used.

The patches have been respun against for-v4.7-fixes

Eric W. Biederman (3):
cgroupns: Fix the locking in copy_cgroup_ns
cgroupns: Close race between cgroup_post_fork and copy_cgroup_ns
cgroupns: Only allow creation of hierarchies in the initial cgroup namespace

 kernel/cgroup.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)