All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] cgroupns: Locking and semantic fixes
@ 2016-07-15  5:14 Eric W. Biederman
  0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2016-07-15  5:14 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Serge E. Hallyn, Aditya Kali, cgroups-u79uwXL29TY76Z2rM5mHXA


(Resending and including the cgroups mailing list this time oops)

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 are against v4.7-rc2 where I have been doing my testing
and does not include the recent spin_lock_bh(&css_set_lock) to
spin_lock_irq(&css_set_lock) change.  But that should be trivial to
resolve.

If you need me to respin things against your for-4.7-fixes branch I will
be happy to oblige.  Likewise if another strategy for fixing the cgroup
namespace locking issues is necessary just let me know.

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(-)

Thank you,
Eric Biederman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 0/3] cgroupns: Locking and semantic fixes
       [not found]   ` <20160715111847.GC3078-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
@ 2016-07-15 11:34     ` Eric W. Biederman
  0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2016-07-15 11:34 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Serge E. Hallyn, Aditya Kali, cgroups-u79uwXL29TY76Z2rM5mHXA



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(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-15 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15  5:14 [PATCH 0/3] cgroupns: Locking and semantic fixes Eric W. Biederman
     [not found] <87h9br4h80.fsf@x220.int.ebiederm.org>
     [not found] ` <20160715111847.GC3078@mtj.duckdns.org>
     [not found]   ` <20160715111847.GC3078-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2016-07-15 11:34     ` Eric W. Biederman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.