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: <20240701-vfs-fixes-7af8db39cee3@brauner>
Date: Mon,  1 Jul 2024 13:53:22 +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 fixes for this merge window:

Misc:
- Don't misleadingly warn during filesystem thaw operations. It's possible that
  a block device which was frozen before it was mounted can cause a failing
  thaw operation if someone concurrently tried to mount it while that thaw
  operation was issued and the device had already been temporarily claimed for
  the mount (The mount will of course be aborted because the device is frozen).

netfs:
- Fix io_uring based write-through. Make sure that the total request length is
  correctly set.
- Fix partial writes to folio tail.
- Remove some xarray helpers that were intended for bounce buffers which got
  defered to a later patch series.
- Make netfs_page_mkwrite() whether folio->mapping is vallid after acquiring
  the folio lock.
- Make netfs_page_mkrite() flush conflicting data instead of waiting.

fsnotify:
- Ensure that fsnotify creation events are generated before fsnotify open
  events when a file is created via ->atomic_open(). The ordering was broken
  before.
- Ensure that no fsnotify events are generated for O_PATH file descriptors.
  While no fsnotify open events were generated, fsnotify close events were.
  Make it consistent and don't produce any.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

All patches are based on v6.10-rc3. No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 83a7eefedc9b56fe7bfeff13b6c7356688ffa670:

  Linux 6.10-rc3 (2024-06-09 14:19:43 -0700)

are available in the Git repository at:

  git@...olite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.10-rc7.fixes

for you to fetch changes up to 9d66154f73b7c7007c3be1113dfb50b99b791f8f:

  netfs: Fix netfs_page_mkwrite() to flush conflicting data, not wait (2024-06-26 14:19:08 +0200)

Please consider pulling these changes from the signed vfs-6.10-rc7.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10-rc7.fixes

----------------------------------------------------------------
Christian Brauner (1):
      fs: don't misleadingly warn during thaw operations

David Howells (5):
      netfs: Fix io_uring based write-through
      netfs: Fix early issue of write op on partial write to folio tail
      netfs: Delete some xarray-wangling functions that aren't used
      netfs: Fix netfs_page_mkwrite() to check folio->mapping is valid
      netfs: Fix netfs_page_mkwrite() to flush conflicting data, not wait

Jan Kara (1):
      fsnotify: Do not generate events for O_PATH file descriptors

NeilBrown (1):
      vfs: generate FS_CREATE before FS_OPEN when ->atomic_open used.

 fs/namei.c                | 10 ++++--
 fs/netfs/buffered_write.c | 12 +++++--
 fs/netfs/direct_write.c   |  3 +-
 fs/netfs/internal.h       |  9 ------
 fs/netfs/misc.c           | 81 -----------------------------------------------
 fs/netfs/write_issue.c    |  2 +-
 fs/open.c                 | 22 +++++++++----
 fs/super.c                | 11 ++++++-
 include/linux/fsnotify.h  |  8 ++++-
 9 files changed, 52 insertions(+), 106 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ