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-next>] [day] [month] [year] [list]
Message-ID: <20250908-vfs-fixes-0096f8ec89ff@brauner>
Date: Mon,  8 Sep 2025 11:45:58 +0200
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] vfs fixes

Hey Linus,

the fixes tree was filled before Link: tags were ousted. Only one of
the patches in the series carries a Link: tag and that one actually has
a useful discussion attached to it.

Please also be aware that patches in the various branches for the v6.18
merge window will have Link: tags applied and I don't want to rebase
them all just to drop them. I'll mention that during the merge window
once more as a reminder.

Going forward no tags are applied to individual commits. But I will
continue adding tags to the cover letter in the merge message for patch
series as I often modify the merge message so they point back to the
original cover letter.

/* Summary */

This contains a few fixes for this cycle:

# fuse

- Prevent opening of non-regular backing files.
  Fuse doesn't support non-regular files anyway.

- Check whether copy_file_range() returns a larger size than requested.

- Prevent overflow in copy_file_range() as fuse currently only supports
  32-bit sized copies.

- Cache the blocksize value if the server returned a new value as
  inode->i_blkbits isn't modified directly anymore.

- Fix i_blkbits handling for iomap partial writes.
  By default i_blkbits is set to PAGE_SIZE which causes iomap to mark
  the whole folio as uptodate even on a partial write. But fuseblk
  filesystems support choosing a blocksize smaller than PAGE_SIZE
  risking data corruption. Simply enforce PAGE_SIZE as blocksize for
  fuseblk's internal inode for now.

- Prevent out-of-bounds acces in fuse_dev_write() when the number of
  bytes to be retrieved is truncated to the fc->max_pages limit.

# virtiofs

- Fix page faults for DAX page addresses.

# Misc

- Tighten file handle decoding from userns.
  Check that the decoded dentry itself has a valid idmapping in the user
  namespace.

- Fix mount-notify selftests.

- Fix some indentation errors.

- Add an FMODE_ flag to indicate IOCB_HAS_METADATA availability.
  This will be moved to an FOP_* flag with a bit more rework needed for
  that to happen not suitable for a fix.

- Don't silently ignore metadata for sync read/write.

- Don't pointlessly log warning when reading coredump sysctls.

/* 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 1b237f190eb3d36f52dffe07a40b5eb210280e00:

  Linux 6.17-rc3 (2025-08-24 12:04:12 -0400)

are available in the Git repository at:

  git@...olite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.17-rc6.fixes

for you to fetch changes up to e1bf212d0604d2cbb5514e47ccec252b656071fb:

  fuse: virtio_fs: fix page fault for DAX page address (2025-09-05 15:56:30 +0200)

Please consider pulling these changes from the signed vfs-6.17-rc6.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.17-rc6.fixes

----------------------------------------------------------------
Amir Goldstein (2):
      fuse: do not allow mapping a non-regular backing file
      fhandle: use more consistent rules for decoding file handle from userns

Christian Brauner (3):
      Merge patch series "io_uring / dio metadata fixes"
      coredump: don't pointlessly check and spew warnings
      Merge tag 'fuse-fixes-6.17-rc5' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse into vfs.fixes

Christoph Hellwig (2):
      fs: add a FMODE_ flag to indicate IOCB_HAS_METADATA availability
      block: don't silently ignore metadata for sync read/write

Edward Adam Davis (1):
      fuse: Block access to folio overlimit

Guopeng Zhang (1):
      fs: fix indentation style

Haiyue Wang (1):
      fuse: virtio_fs: fix page fault for DAX page address

Joanne Koong (2):
      fuse: reflect cached blocksize if blocksize was changed
      fuse: fix fuseblk i_blkbits for iomap partial writes

Miklos Szeredi (2):
      fuse: check if copy_file_range() returns larger than requested size
      fuse: prevent overflow in copy_file_range return value

Xing Guo (1):
      selftests/fs/mount-notify: Fix compilation failure.

 block/fops.c                                           | 13 ++++++++-----
 fs/coredump.c                                          |  4 ++++
 fs/exec.c                                              |  2 +-
 fs/fhandle.c                                           |  8 ++++++++
 fs/fuse/dev.c                                          |  2 +-
 fs/fuse/dir.c                                          |  3 ++-
 fs/fuse/file.c                                         |  5 ++++-
 fs/fuse/fuse_i.h                                       | 14 ++++++++++++++
 fs/fuse/inode.c                                        | 16 ++++++++++++++++
 fs/fuse/passthrough.c                                  |  5 +++++
 fs/fuse/virtio_fs.c                                    |  2 +-
 fs/namespace.c                                         |  2 +-
 include/linux/fs.h                                     |  3 ++-
 io_uring/rw.c                                          |  3 +++
 .../filesystems/mount-notify/mount-notify_test.c       | 17 ++++++++---------
 .../filesystems/mount-notify/mount-notify_test_ns.c    | 18 ++++++++----------
 16 files changed, 86 insertions(+), 31 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ