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: <20250602-vfs-fixes-257460b833e1@brauner>
Date: Mon,  2 Jun 2025 11:02:42 +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,

/* Summary */

This contains a first round of fixes for this cycle:

- Fix the AT_HANDLE_CONNECTABLE option so filesystems that don't know
  how to decode a connected non-dir dentry fail the request.

- Use repr(transparent) to ensure identical layout between the C and
  Rust implementation of struct file.

- Add a missing xas_pause() into the dax code employing
  wait_entry_unlocked_exclusive().

- Fix FOP_DONTCACHE which we disabled for v6.15. A folio could get
  redirtied and/or scheduled for writeback after the initial dropbehind
  test. Change the test accordingly to handle these cases so we can
  re-enable FOP_DONTCACHE again.

  This obviously will need backports to v6.15.

/* 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 015a99fa76650e7d6efa3e36f20c0f5b346fe9ce:

  Merge tag 'nolibc-20250526-for-6.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc (2025-05-27 11:27:09 -0700)

are available in the Git repository at:

  git@...olite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc2.fixes

for you to fetch changes up to 5402c4d4d2000a9baa30c1157c97152ec6383733:

  exportfs: require ->fh_to_parent() to encode connectable file handles (2025-05-30 07:30:47 +0200)

Please consider pulling these changes from the signed vfs-6.16-rc2.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc2.fixes

----------------------------------------------------------------
Alistair Popple (1):
      fs/dax: Fix "don't skip locked entries when scanning entries"

Amir Goldstein (1):
      exportfs: require ->fh_to_parent() to encode connectable file handles

Christian Brauner (2):
      Merge patch series "dropbehind fixes and cleanups"
      Merge patch series "rust: file: mark `LocalFile` as `repr(transparent)`"

Jens Axboe (6):
      mm/filemap: gate dropbehind invalidate on folio !dirty && !writeback
      mm/filemap: use filemap_end_dropbehind() for read invalidation
      Revert "Disable FOP_DONTCACHE for now due to bugs"
      mm/filemap: unify read/write dropbehind naming
      mm/filemap: unify dropbehind flag testing and clearing
      iomap: don't lose folio dropbehind state for overwrites

Pekka Ristola (2):
      rust: file: mark `LocalFile` as `repr(transparent)`
      rust: file: improve safety comments

 fs/dax.c                 |  2 +-
 fs/iomap/buffered-io.c   |  2 ++
 fs/xfs/xfs_aops.c        | 22 ++++++++++++++++++++--
 include/linux/exportfs.h | 10 ++++++++++
 include/linux/fs.h       |  2 +-
 include/linux/iomap.h    |  5 ++++-
 mm/filemap.c             | 39 ++++++++++++++++++++++++---------------
 rust/kernel/fs/file.rs   | 10 ++++++----
 8 files changed, 68 insertions(+), 24 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ