Skip to contentSkip to conversation

more mount fixes

GIT PULL Merged Al Viro 2 participants 2 messages Jun 25, 2025 – Jun 26, 2025 VFS

lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

More fallout from struct mount audit...

The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494:

Linux 6.16-rc1 (2025-06-08 13:44:43 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes

for you to fetch changes up to 0748e553df0225754c316a92af3a77fdc057b358:

userns and mnt_idmap leak in open_tree_attr(2) (2025-06-24 10:25:04 -0400)

----------------------------------------------------------------
Several mount-related fixes

----------------------------------------------------------------
Al Viro (3):
replace collect_mounts()/drop_collected_mounts() with a safer variant attach_recursive_mnt(): do not lock the covering tree when sliding something under it userns and mnt_idmap leak in open_tree_attr(2)

 Documentation/filesystems/porting.rst |   9 +++
 fs/namespace.c                        | 115 +++++++++++++++++++---------------
 fs/pnode.h                            |   2 -
 include/linux/mount.h                 |   6 +-
 kernel/audit_tree.c                   |  63 ++++++++++---------
 5 files changed, 111 insertions(+), 84 deletions(-)