lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251128-vfs-misc-v619-0a57215a07b7@brauner>
Date: Fri, 28 Nov 2025 17:48:13 +0100
From: Christian Brauner <brauner@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Christian Brauner <brauner@...nel.org>,
	linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [GIT PULL 02/17 for v6.19] vfs misc

Hey Linus,

/* Summary */
This contains the usually miscellaneous vfs changes:

Note that this has the kbuild -fms-extensions support merged in as the
pipe changes depends on it.

Features

- Cheaper MAY_EXEC handling for path lookup. This elides MAY_WRITE
  permission checks during path lookup and adds the IOP_FASTPERM_MAY_EXEC
  flag so filesystems like btrfs can avoid expensive permission work.

- Hide dentry_cache behind runtime const machinery.

- Add German Maglione as virtiofs co-maintainer.

Cleanups

- Tidy up and inline step_into() and walk_component() for improved code
  generation.

- Re-enable IOCB_NOWAIT writes to files. This refactors file timestamp
  update logic, fixing a layering bypass in btrfs when updating timestamps
  on device files and improving FMODE_NOCMTIME handling in VFS now that
  nfsd started using it.

- Path lookup optimizations extracting slowpaths into dedicated routines
  and adding branch prediction hints for mntput_no_expire(), fd_install(),
  lookup_slow(), and various other hot paths.

- Enable clang's -fms-extensions flag, requiring a JFS rename to avoid
  conflicts.

- Remove spurious exports in fs/file_attr.c.

- Stop duplicating union pipe_index declaration. This depends on the
  shared kbuild branch that brings in -fms-extensions support which is
  merged into this branch.

- Use MD5 library instead of crypto_shash in ecryptfs.

- Use largest_zero_folio() in iomap_dio_zero().

- Replace simple_strtol/strtoul with kstrtoint/kstrtouint in init and
  initrd code.

- Various typo fixes.

Fixes

- Fix emergency sync for btrfs. Btrfs requires an explicit sync_fs() call
  with wait == 1 to commit super blocks. The emergency sync path never
  passed this, leaving btrfs data uncommitted during emergency sync.

- Use local kmap in watch_queue's post_one_notification().

- Add hint prints in sb_set_blocksize() for LBS dependency on THP.

/* Testing */

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

No build failures or warnings were observed.

/* Conflicts */

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

No known conflicts.

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

The following changes since commit dcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa:

  Linux 6.18-rc3 (2025-10-26 15:59:49 -0700)

are available in the Git repository at:

  git@...olite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.19-rc1.misc

for you to fetch changes up to ebf8538979101ef879742dcfaf04b684f5461e12:

  MAINTAINERS: add German Maglione as virtiofs co-maintainer (2025-11-27 10:00:09 +0100)

Please consider pulling these changes from the signed vfs-6.19-rc1.misc tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.19-rc1.misc

----------------------------------------------------------------
Askar Safin (2):
      fs/splice.c: trivial fix: pipes -> pipe's
      include/linux/fs.h: trivial fix: regualr -> regular

Baokun Li (1):
      bdev: add hint prints in sb_set_blocksize() for LBS dependency on THP

Christian Brauner (6):
      Merge patch series "fs: fully sync all fsese even for an emergency sync"
      Merge patch "kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS"
      Merge branch 'kbuild-6.19.fms.extension'
      Merge patch series "cheaper MAY_EXEC handling for path lookup"
      Merge patch series "re-enable IOCB_NOWAIT writes to files v2"
      Merge patch series "fs: tidy up step_into() & friends before inlining"

Christoph Hellwig (7):
      fs: remove spurious exports in fs/file_attr.c
      fs: refactor file timestamp update logic
      fs: lift the FMODE_NOCMTIME check into file_update_time_flags
      fs: export vfs_utimes
      btrfs: use vfs_utimes to update file timestamps
      btrfs: fix the comment on btrfs_update_time
      orangefs: use inode_update_timestamps directly

Davidlohr Bueso (1):
      watch_queue: Use local kmap in post_one_notification()

Eric Biggers (1):
      ecryptfs: Use MD5 library instead of crypto_shash

Kaushlendra Kumar (1):
      init: Replace simple_strtoul() with kstrtouint() in root_delay_setup()

Mateusz Guzik (13):
      fs: touch up predicts in putname()
      fs: speed up path lookup with cheaper handling of MAY_EXEC
      btrfs: utilize IOP_FASTPERM_MAY_EXEC
      fs: retire now stale MAY_WRITE predicts in inode_permission()
      fs: touch predicts in do_dentry_open()
      fs: hide dentry_cache behind runtime const machinery
      fs: move fd_install() slowpath into a dedicated routine and provide commentary
      fs: touch up predicts in path lookup
      fs: move mntput_no_expire() slowpath into a dedicated routine
      fs: add predicts based on nd->depth
      fs: mark lookup_slow() as noinline
      fs: tidy up step_into() & friends before inlining
      fs: inline step_into() and walk_component()

Nathan Chancellor (2):
      jfs: Rename _inline to avoid conflict with clang's '-fms-extensions'
      kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS

Pankaj Raghav (1):
      iomap: use largest_zero_folio() in iomap_dio_zero()

Qu Wenruo (2):
      fs: do not pass a parameter for sync_inodes_one_sb()
      fs: fully sync all fses even for an emergency sync

Rasmus Villemoes (2):
      Kbuild: enable -fms-extensions
      fs/pipe: stop duplicating union pipe_index declaration

Stefan Hajnoczi (1):
      MAINTAINERS: add German Maglione as virtiofs co-maintainer

Thorsten Blum (1):
      initrd: Replace simple_strtol with kstrtoint to improve ramdisk_start_setup

 MAINTAINERS                           |   1 +
 Makefile                              |   3 +
 arch/arm64/kernel/vdso32/Makefile     |   3 +-
 arch/loongarch/vdso/Makefile          |   2 +-
 arch/parisc/boot/compressed/Makefile  |   2 +-
 arch/powerpc/boot/Makefile            |   3 +-
 arch/s390/Makefile                    |   3 +-
 arch/s390/purgatory/Makefile          |   3 +-
 arch/x86/Makefile                     |   4 +-
 arch/x86/boot/compressed/Makefile     |   7 +-
 block/bdev.c                          |  19 ++++-
 drivers/firmware/efi/libstub/Makefile |   4 +-
 fs/btrfs/inode.c                      |  16 +++-
 fs/btrfs/volumes.c                    |  11 +--
 fs/dcache.c                           |   6 +-
 fs/ecryptfs/Kconfig                   |   2 +-
 fs/ecryptfs/crypto.c                  |  90 +++------------------
 fs/ecryptfs/ecryptfs_kernel.h         |  13 +---
 fs/ecryptfs/inode.c                   |   7 +-
 fs/ecryptfs/keystore.c                |  65 +++-------------
 fs/ecryptfs/main.c                    |   7 ++
 fs/ecryptfs/super.c                   |   5 +-
 fs/file.c                             |  35 +++++++--
 fs/file_attr.c                        |   4 -
 fs/inode.c                            |  58 +++++---------
 fs/iomap/direct-io.c                  |  38 ++++-----
 fs/jfs/jfs_incore.h                   |   6 +-
 fs/namei.c                            | 142 +++++++++++++++++++++++++---------
 fs/namespace.c                        |  38 +++++----
 fs/open.c                             |   6 +-
 fs/orangefs/inode.c                   |   4 +-
 fs/splice.c                           |   2 +-
 fs/sync.c                             |   7 +-
 fs/utimes.c                           |   1 +
 include/asm-generic/vmlinux.lds.h     |   3 +-
 include/linux/fs.h                    |  15 ++--
 include/linux/pipe_fs_i.h             |  23 ++----
 init/do_mounts.c                      |   3 +-
 init/do_mounts_rd.c                   |   3 +-
 kernel/watch_queue.c                  |   4 +-
 scripts/Makefile.extrawarn            |   4 +-
 41 files changed, 329 insertions(+), 343 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ