Skip to content
Commit 16a34adb authored by Al Viro's avatar Al Viro
Browse files

Don't leak MNT_INTERNAL away from internal mounts



We want it only for the stuff created by SB_KERNMOUNT mounts, *not* for
their copies.  As it is, creating a deep stack of bindings of /proc/*/ns/*
somewhere in a new namespace and exiting yields a stack overflow.

Cc: stable@kernel.org
Reported-by: default avatarAlexander Aring <aring@mojatatu.com>
Bisected-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Tested-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Tested-by: default avatarAlexander Aring <aring@mojatatu.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8e04944f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment