Please sign in to comment.
namespaces, pid_ns: fix leakage on fork() failure
commit 5e2bf01 upstream. Fork() failure post namespace creation for a child cloned with CLONE_NEWPID leaks pid_namespace/mnt_cache due to proc being mounted during creation, but not unmounted during cleanup. Call pid_ns_release_proc() during cleanup. Signed-off-by: Mike Galbraith <firstname.lastname@example.org> Acked-by: Oleg Nesterov <email@example.com> Reviewed-by: "Eric W. Biederman" <firstname.lastname@example.org> Cc: Pavel Emelyanov <email@example.com> Cc: Cyrill Gorcunov <firstname.lastname@example.org> Cc: Louis Rilling <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com> Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
- Loading branch information...