Re: [PATCH 4.9 022/310] pidns: disable pid allocation if pid_ns_prepare_proc() is failed in alloc_pid()

From: Greg Kroah-Hartman
Date: Thu Apr 12 2018 - 04:25:41 EST


On Wed, Apr 11, 2018 at 02:27:19PM -0500, Eric W. Biederman wrote:
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:
>
> > 4.9-stable review patch. If anyone has any objections, please let me
> > know.
>
> No objections but if you are grabbing that one please check if you
> have it's follow on fix.
>
> c0ee554906c3 ("pid: Handle failure to allocate the first pid in a pid namespace")
>
> There were a few cases not handled but the fix below, that made a more
> comprehensive fix desirable.

Ok, but it looks like that commit needs to also go into 4.14.y as well,
as the original patch here, 8896c23d2ef8 ("pidns: disable pid allocation
if pid_ns_prepare_proc() is failed in alloc_pid()") showed up in 4.12.

Is that ok?

thanks,

greg k-h