Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99db67bc authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

userns: don't leak root user

parent 59845b1f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ void free_user_ns(struct kref *kref)
	struct user_namespace *ns;

	ns = container_of(kref, struct user_namespace, kref);
	free_uid(ns->root_user);
	kfree(ns);
}