]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
umount: Allow superblock owners to force umount
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 18 Mar 2025 16:29:21 +0000 (12:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:15:10 +0000 (10:15 +0200)
commit67e85cfa951cb074dabd9ec5ef11b74e78cb5a06
tree6a41bb345240757811039b944b4889a4bad02e54
parent52535688c27f5a8c8d7f972d40142c52874844d3
umount: Allow superblock owners to force umount

[ Upstream commit e1ff7aa34dec7e650159fd7ca8ec6af7cc428d9f ]

Loosen the permission check on forced umount to allow users holding
CAP_SYS_ADMIN privileges in namespaces that are privileged with respect
to the userns that originally mounted the filesystem.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Link: https://lore.kernel.org/r/12f212d4ef983714d065a6bb372fbb378753bf4c.1742315194.git.trond.myklebust@hammerspace.com
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/namespace.c