summaryrefslogtreecommitdiffstats
path: root/block/blk-crypto.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-08-09 10:19:47 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-08-10 10:21:31 +0200
commit427215d85e8d1476da1a86b8d67aceb485eb3631 (patch)
tree36a42e8bcacadc0e2ebb4f6abfc44fecc87efbcf /block/blk-crypto.c
parent580c610429b3994e8db24418927747cf28443cde (diff)
downloadlinux-427215d85e8d1476da1a86b8d67aceb485eb3631.tar.gz
linux-427215d85e8d1476da1a86b8d67aceb485eb3631.tar.bz2
linux-427215d85e8d1476da1a86b8d67aceb485eb3631.zip
ovl: prevent private clone if bind mount is not allowed
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>
Diffstat (limited to 'block/blk-crypto.c')
0 files changed, 0 insertions, 0 deletions