summaryrefslogtreecommitdiff
path: root/kernel/livepatch
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-08-09 10:19:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-15 14:01:57 +0200
commit41812f4b84484530057513478c6770590347dc30 (patch)
treed08974f1d7fb4802f2ba6fb0235c258e3629936d /kernel/livepatch
parent2b187b56d531baa0a7810e69c92427464d65fc36 (diff)
downloadlinux-41812f4b84484530057513478c6770590347dc30.tar.gz
linux-41812f4b84484530057513478c6770590347dc30.tar.bz2
linux-41812f4b84484530057513478c6770590347dc30.zip
ovl: prevent private clone if bind mount is not allowed
commit 427215d85e8d1476da1a86b8d67aceb485eb3631 upstream. Add the following checks from __do_loopback() to clone_private_mount() as well: - verify that the mount is in the current namespace - verify that there are no locked children Reported-by: Alois Wohlschlager <alois1@gmx-topmail.de> Fixes: c771d683a62e ("vfs: introduce clone_private_mount()") Cc: <stable@vger.kernel.org> # v3.18 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions