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: <20230824-umgerechnet-luftschicht-6dc072d6dbc2@brauner>
Date:   Thu, 24 Aug 2023 16:26:13 +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] misc updates

Hey Linus,

/* Summary */
This contains the usual miscellaneous features, cleanups, and fixes for
vfs and individual fses.

Features
========

* Block mode changes on symlinks and rectify our broken semantics.
* Report file modifications via fsnotify() for splice.
* Allow specifying an explicit timeout for the "rootwait" kernel command
  line option. This allows to timeout and reboot instead of always
  waiting indefinitely for the root device to show up.
* Use synchronous fput for the close system call.

Cleanups
========

* Get rid of open-coded lockdep workarounds for async io submitters and
  replace it all with a single consolidated helper.
* Simplify epoll allocation helper.
* Convert simple_write_begin and simple_write_end to use a folio.
* Convert page_cache_pipe_buf_confirm() to use a folio.
* Simplify __range_close to avoid pointless locking.
* Disable per-cpu buffer head cache for isolated cpus.
* Port ecryptfs to kmap_local_page() api.
* Remove redundant initialization of pointer buf in pipe code.
* Unexport the d_genocide() function which is only used within core vfs.
* Replace printk(KERN_ERR) and WARN_ON() with WARN().

Fixes
=====

* Fix various kernel-doc issues.
* Fix refcount underflow for eventfds when used as EFD_SEMAPHORE.
* Fix a mainly theoretical issue in devpts.
* Check the return value of __getblk() in reiserfs.
* Fix a racy assert in i_readcount_dec.
* Fix integer conversion issues in various functions.
* Fix LSM security context handling during automounts that prevented NFS
  superblock sharing.

/* Testing */
clang: Ubuntu clang version 15.0.7
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on v6.5-rc1 and have been sitting in linux-next.
No build failures or warnings were observed. All old and new tests in
selftests, and LTP pass without regressions.

/* 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 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

  Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

  git@...olite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/v6.6-vfs.misc

for you to fetch changes up to e6fa4c728fb671765291cca3a905986612c06b6e:

  cachefiles: use kiocb_{start,end}_write() helpers (2023-08-21 17:27:27 +0200)

Please consider pulling these changes from the signed v6.6-vfs.misc tag.

Thanks!
Christian

----------------------------------------------------------------
v6.6-vfs.misc

----------------------------------------------------------------
Ahelenia ZiemiaƄska (3):
      splice: always fsnotify_access(in), fsnotify_modify(out) on success
      splice: fsnotify_access(fd)/fsnotify_modify(fd) in vmsplice
      splice: fsnotify_access(in), fsnotify_modify(out) on success in tee

Alexander Mikhalitsyn (1):
      docs: filesystems: idmappings: clarify from where idmappings are taken

Amir Goldstein (7):
      io_uring: rename kiocb_end_write() local helper
      fs: add kerneldoc to file_{start,end}_write() helpers
      fs: create kiocb_{start,end}_write() helpers
      io_uring: use kiocb_{start,end}_write() helpers
      aio: use kiocb_{start,end}_write() helpers
      ovl: use kiocb_{start,end}_write() helpers
      cachefiles: use kiocb_{start,end}_write() helpers

Anh Tuan Phan (1):
      fs/dcache: Replace printk and WARN_ON by WARN

Christian Brauner (1):
      attr: block mode changes of symlinks

Christoph Hellwig (1):
      fs: unexport d_genocide

Colin Ian King (1):
      fs/pipe: remove redundant initialization of pointer buf

David Howells (1):
      vfs, security: Fix automount superblock LSM init problem, preventing NFS sb sharing

Fabio M. De Francesco (3):
      fs/ecryptfs: Replace kmap() with kmap_local_page()
      fs/ecryptfs: Use kmap_local_page() in ecryptfs_write()
      fs/ecryptfs: Use kmap_local_page() in copy_up_encrypted_with_header()

GONG, Ruiqi (1):
      doc: idmappings: fix an error and rephrase a paragraph

Linus Torvalds (1):
      fs: use __fput_sync in close(2)

Loic Poulain (1):
      init: Add support for rootwait timeout parameter

Luca Vizzarro (4):
      fcntl: Cast commands with int args explicitly
      fs: Pass argument to fcntl_setlease as int
      pipe: Pass argument of pipe_fcntl as int
      dnotify: Pass argument of fcntl_dirnotify as int

Marcelo Tosatti (1):
      fs/buffer.c: disable per-CPU buffer_head cache for isolated CPUs

Mateusz Guzik (2):
      file: mostly eliminate spurious relocking in __range_close
      vfs: fix up the assert in i_readcount_dec

Matthew Wilcox (1):
      reiserfs: Check the return value from __getblk()

Matthew Wilcox (Oracle) (4):
      devpts: Fix kernel-doc warnings
      fs: Fix kernel-doc warnings
      libfs: Convert simple_write_begin and simple_write_end to use a folio
      splice: Convert page_cache_pipe_buf_confirm() to use a folio

Wang Ming (1):
      fs: Fix error checking for d_hash_and_lookup()

Wen Yang (1):
      eventfd: prevent underflow for eventfd semaphores

Yang Li (1):
      fs: Fix one kernel-doc comment

Zhen Lei (1):
      epoll: simplify ep_alloc()

Zhu Wang (1):
      fs/ecryptfs: remove kernel-doc warnings

 Documentation/admin-guide/kernel-parameters.txt |  4 ++
 Documentation/filesystems/idmappings.rst        | 14 ++++--
 fs/aio.c                                        | 20 ++------
 fs/attr.c                                       | 20 +++++++-
 fs/buffer.c                                     |  7 ++-
 fs/cachefiles/io.c                              | 16 ++-----
 fs/dcache.c                                     |  5 +-
 fs/devpts/inode.c                               | 10 ++--
 fs/ecryptfs/crypto.c                            |  8 ++--
 fs/ecryptfs/mmap.c                              |  5 +-
 fs/ecryptfs/read_write.c                        | 12 ++---
 fs/eventfd.c                                    |  2 +-
 fs/eventpoll.c                                  | 12 +----
 fs/fcntl.c                                      | 29 +++++------
 fs/file.c                                       | 30 ++++++------
 fs/file_table.c                                 |  5 +-
 fs/fs_context.c                                 | 35 ++++++++++++--
 fs/ioctl.c                                      | 10 ++--
 fs/kernel_read_file.c                           | 12 ++---
 fs/libfs.c                                      | 42 ++++++++--------
 fs/locks.c                                      | 20 ++++----
 fs/namei.c                                      |  5 +-
 fs/nfs/nfs4_fs.h                                |  2 +-
 fs/nfs/nfs4file.c                               |  2 +-
 fs/nfs/nfs4proc.c                               |  4 +-
 fs/notify/dnotify/dnotify.c                     |  4 +-
 fs/open.c                                       | 31 ++++++++++--
 fs/overlayfs/file.c                             | 10 +---
 fs/pipe.c                                       |  8 ++--
 fs/read_write.c                                 |  2 +-
 fs/reiserfs/journal.c                           |  4 +-
 fs/smb/client/cifsfs.c                          |  2 +-
 fs/splice.c                                     | 64 ++++++++++++++-----------
 include/linux/dnotify.h                         |  4 +-
 include/linux/filelock.h                        | 12 ++---
 include/linux/fs.h                              | 60 ++++++++++++++++++++---
 include/linux/lsm_hook_defs.h                   |  1 +
 include/linux/pipe_fs_i.h                       |  4 +-
 include/linux/security.h                        |  6 +++
 init/do_mounts.c                                | 38 ++++++++++++++-
 io_uring/rw.c                                   | 33 ++++---------
 security/security.c                             | 14 ++++++
 security/selinux/hooks.c                        | 22 +++++++++
 security/smack/smack_lsm.c                      | 51 ++++++++++++++++++++
 44 files changed, 458 insertions(+), 243 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ