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]
Date:   Thu, 17 Jan 2019 15:27:29 +0000
From:   David Howells <dhowells@...hat.com>
To:     torvalds@...ux-foundation.org
Cc:     "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
        Marc Dionne <marc.dionne@...istor.com>, dhowells@...hat.com,
        linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/6] AFS fixes


Hi Linus,

Here's a set of fixes for AFS:

 (1) Use struct_size() for kzalloc() size calculation.

 (2) When calling YFS.CreateFile rather than AFS.CreateFile, it is possible
     to create a file with a file lock already held.  The default value
     indicating no lock required is actually -1, not 0.

 (3) Fix an oops in inode/vnode validation if the target inode doesn't have
     a server interest assigned (ie. a server that will notify us of
     changes by third parties).

 (4) Fix refcounting of keys in file locking.

 (5) Fix a race in refcounting asynchronous operations in the event of an
     error during request transmission.  The provision of a dedicated
     function to get an extra ref on a call is split into a separate
     commit.

The patches can be found here:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git
	tag afs-fixes-20190117

David
---
David Howells (3):
      afs: Fix key refcounting in file locking code
      afs: Provide a function to get a ref on a call
      afs: Fix race in async call refcounting

Gustavo A. R. Silva (1):
      afs: Use struct_size() in kzalloc()

Marc Dionne (2):
      afs: Set correct lock type for the yfs CreateFile
      afs: Don't set vnode->cb_s_break in afs_validate()


 fs/afs/flock.c             |    4 ++-
 fs/afs/inode.c             |    3 ++
 fs/afs/protocol_yfs.h      |   11 +++++++++
 fs/afs/rxrpc.c             |   53 +++++++++++++++++++++++++++++++++++---------
 fs/afs/server_list.c       |    4 +--
 fs/afs/yfsclient.c         |    2 +-
 include/trace/events/afs.h |    2 ++
 7 files changed, 61 insertions(+), 18 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ