Re: [PATCH] Fix failure path in alloc_pid()

From: Linus Torvalds
Date: Fri Dec 28 2018 - 15:53:42 EST

On Fri, Dec 28, 2018 at 7:22 AM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> The failure path removes the allocated PIDs from the wrong namespace.
> This could lead to us inadvertently reusing PIDs in the leaf namespace
> and leaking PIDs in parent namespaces.