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: <20240222-vfs-fixes-90812d8f4995@brauner>
Date: Thu, 22 Feb 2024 15:03:24 +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] vfs fixes

Hey Linus,

/* Summary */
This contains a few fixes:

* Fix a memory leak in cachefiles.
* Restrict aio cancellations to I/O submitted through the aio interfaces as
  this is otherwise causing issues for I/O submitted via io_uring.
* Increase buffer for afs volume status to avoid overflow.
* Fix a missing zero-length check in unbuffered writes in the netfs library.
  If generic_write_checks() returns zero make netfs_unbuffered_write_iter()
  return right away.
* Prevent a leak in i_dio_count caused by netfs_begin_read() operaing pas
  i_size. It will return early and leave i_dio_count incremented.
* Account for ipv4 addresses as well ass ipv6 addresses when processing
  incoming callbacks in afs.

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

All patches are based on v6.8-rc2 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3:

  Linux 6.8-rc2 (2024-01-28 17:01:12 -0800)

are available in the Git repository at:

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

for you to fetch changes up to b820de741ae48ccf50dd95e297889c286ff4f760:

  fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio (2024-02-21 16:31:49 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.8-rc6.fixes

----------------------------------------------------------------
Baokun Li (1):
      cachefiles: fix memory leak in cachefiles_add_cache()

Bart Van Assche (1):
      fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio

Daniil Dulov (1):
      afs: Increase buffer size in afs_update_volume_status()

David Howells (1):
      netfs: Fix missing zero-length check in unbuffered write

Marc Dionne (2):
      netfs: Fix i_dio_count leak on DIO read past i_size
      afs: Fix ignored callbacks over ipv4

 fs/afs/internal.h         |  6 ++----
 fs/afs/main.c             |  3 +--
 fs/afs/server.c           | 14 +++++---------
 fs/afs/volume.c           |  4 ++--
 fs/aio.c                  |  9 ++++++++-
 fs/cachefiles/cache.c     |  2 ++
 fs/cachefiles/daemon.c    |  1 +
 fs/netfs/buffered_write.c |  3 +++
 fs/netfs/direct_write.c   |  5 ++++-
 fs/netfs/io.c             |  2 ++
 include/linux/fs.h        |  2 ++
 11 files changed, 32 insertions(+), 19 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ