diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-19 22:03:08 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-19 23:52:15 -0400 |
commit | 16a34adb9392b2fe4195267475ab5b472e55292c (patch) | |
tree | 5766d9f28563c58dde9077501d23d7319dfcdd98 /lib/iov_iter.c | |
parent | 8e04944f0ea8b838399049bdcda920ab36ae3b04 (diff) | |
download | lwn-16a34adb9392b2fe4195267475ab5b472e55292c.tar.gz lwn-16a34adb9392b2fe4195267475ab5b472e55292c.zip |
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: Alexander Aring <aring@mojatatu.com>
Bisected-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Tested-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Tested-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/iov_iter.c')
0 files changed, 0 insertions, 0 deletions