Re: [PATCH] cgroup: avoid attaching a cgroup root to two different superblocks, take 2

From: Tejun Heo
Date: Fri Apr 28 2017 - 18:10:35 EST


On Wed, Apr 19, 2017 at 10:15:59AM +0800, Zefan Li wrote:
> Commit bfb0b80db5f9 is broken. Now we try to fix the race by delaying
> the initialization of cgroup root refcnt until a superblock has been
> allocated.
>
> Cc: stable@xxxxxxxxxxxxxxx # 3.16+
> Reported-by: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
> Reported-by: Andrei Vagin <avagin@xxxxxxxxxxxxx>
> Tested-by: Andrei Vagin <avagin@xxxxxxxxxxxxx>
> Signed-off-by: Zefan Li <lizefan@xxxxxxxxxx>

Applied to cgroup/for-4.12 w/o the stable tag. Let's wait this one
out. It's unlikely to trigger in real use cases and if we decide that
this needs to be in -stable, we can ask Greg later.

> Again I didn't receive your reply. I believe the problem is in my side.
> I'll see if there's some network administrator who can look into this
> issue, but I don't have much hope...

Bummer. Is there another address I can cc? :(

Thanks.

--
tejun