[GIT PULL] vfs fixes

From: Christian Brauner
Date: Mon Apr 14 2025 - 06:45:13 EST


Hey Linus,

/* Summary */

This contains various fixes for this cycle:

* Fix NULL pointer dereference in virtiofs.

* Fix slab OOB access in hfs/hfsplus.

* Only create /proc/fs/netfs when CONFIG_PROC_FS is set.

* Fix getname_flags() to initialize pointer correctly.

* Convert dentry flags to enum.

* Don't allow datadir without lowerdir in overlayfs.

* Use namespace_{lock,unlock} helpers in dissolve_on_fput() instead of
plain namespace_sem so unmounted mounts are properly cleaned up.

* Skip unnecessary ifs_block_is_uptodate check in iomap.

* Remove an unused forward declaration in overlayfs.

* Fix devpts uid/gid handling after converting to the new mount api.

* Fix afs_dynroot_readdir() to not use the RCU read lock.

* Fix mount_setattr() and open_tree_attr() to not pointlessly do path
lookup or walk the mount tree if no mount option change has been
requested.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:

Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.15-rc3.fixes

for you to fetch changes up to e2aef868a8c39f411eb7bcee3c42e165a21d5cd6:

Merge tag 'ovl-fixes-6.15-rc2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs (2025-04-11 16:41:48 +0200)

Please consider pulling these changes from the signed vfs-6.15-rc3.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc3.fixes

----------------------------------------------------------------
Christian Brauner (2):
mount: ensure we don't pointlessly walk the mount tree
Merge tag 'ovl-fixes-6.15-rc2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs

David Howells (2):
devpts: Fix type for uid and gid params
afs: Fix afs_dynroot_readdir() to not use the RCU read lock

Giuseppe Scrivano (1):
ovl: remove unused forward declaration

Gou Hao (1):
iomap: skip unnecessary ifs_block_is_uptodate check

Jan Stancek (1):
fs: use namespace_{lock,unlock} in dissolve_on_fput()

Miklos Szeredi (1):
ovl: don't allow datadir only

Omar Sandoval (1):
dcache: convert dentry flag macros to enum

Song Liu (2):
netfs: Only create /proc/fs/netfs with CONFIG_PROC_FS
fs: Fix filename init after recent refactoring

Vasiliy Kovalev (1):
hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key

Xiangsheng Hou (1):
virtiofs: add filesystem context source name check

fs/afs/dynroot.c | 4 +-
fs/devpts/inode.c | 4 +-
fs/fuse/virtio_fs.c | 3 ++
fs/hfs/bnode.c | 6 +++
fs/hfsplus/bnode.c | 6 +++
fs/iomap/buffered-io.c | 2 +-
fs/namei.c | 8 ++--
fs/namespace.c | 34 +++++++++------
fs/netfs/main.c | 4 ++
fs/overlayfs/overlayfs.h | 2 -
fs/overlayfs/super.c | 5 +++
include/linux/dcache.h | 106 ++++++++++++++++++++++-------------------------
12 files changed, 104 insertions(+), 80 deletions(-)