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: <20240426-vfs-fixes-20b3a0dd3821@brauner>
Date: Fri, 26 Apr 2024 16:59:29 +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 few small fixes for this merge window and the attempt to handle
the ntfs removal regression that was reported a little while ago:

* After the removal of the legacy ntfs driver we received reports about
  regressions for some people that do mount "ntfs" explicitly and expect the
  driver to be available. Since ntfs3 is a drop-in for legacy ntfs we alias
  legacy ntfs to ntfs3 just like ext3 is aliased to ext4.

  We also enforce legacy ntfs is always mounted read-only and give it custom
  file operations to ensure that ioctl()'s can't be abused to perform write
  operations.

* Fix an unbalanced module_get() in bdev_open().

* Two smaller fixes for the netfs work done earlier in this cycle.

* Fix the errno returned from the new FS_IOC_GETUUID and FS_IOC_GETFSSYSFSPATH
  ioctls. Both commands just pull information out of the superblock so there's
  no need to call into the actual ioctl handlers.

  So instead of returning ENOIOCTLCMD to indicate to fallback we just return
  ENOTTY directly avoiding that indirection.

/* Testing */
clang: Debian clang version 16.0.6 (19)
gcc: (Debian 13.2.0-7) 13.2.0

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

/* Conflicts */
No known conflicts.

The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

  Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)

are available in the Git repository at:

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

for you to fetch changes up to c97f59e276d4e93480f29a70accbd0d7273cf3f5:

  netfs: Fix the pre-flush when appending to a file in writethrough mode (2024-04-26 14:56:18 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.9-rc6.fixes

----------------------------------------------------------------
Christian Brauner (3):
      ntfs3: serve as alias for the legacy ntfs driver
      ntfs3: enforce read-only when used as legacy ntfs driver
      ntfs3: add legacy ntfs file operations

David Howells (2):
      netfs: Fix writethrough-mode error handling
      netfs: Fix the pre-flush when appending to a file in writethrough mode

Günther Noack (1):
      fs: Return ENOTTY directly if FS_IOC_GETUUID or FS_IOC_GETFSSYSFSPATH fail

Yu Kuai (1):
      block: fix module reference leakage from bdev_open_by_dev error path

 block/bdev.c              |  2 +-
 fs/ioctl.c                |  4 +--
 fs/netfs/buffered_write.c | 23 +++++++++--------
 fs/ntfs3/Kconfig          |  9 +++++++
 fs/ntfs3/dir.c            |  7 +++++
 fs/ntfs3/file.c           |  8 ++++++
 fs/ntfs3/inode.c          | 20 ++++++++++++---
 fs/ntfs3/ntfs_fs.h        |  4 +++
 fs/ntfs3/super.c          | 65 ++++++++++++++++++++++++++++++++++++++++++++---
 9 files changed, 121 insertions(+), 21 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ