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: <432490.1660052462@warthog.procyon.org.uk>
Date:   Tue, 09 Aug 2022 14:41:02 +0100
From:   David Howells <dhowells@...hat.com>
To:     torvalds@...ux-foundation.org
cc:     dhowells@...hat.com, marc.dionne@...istor.com,
        linux-afs@...ts.infradead.org, linux-fsdevel@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [GIT PULL] afs: Fix refcount handling

Hi Linus,

Could you pull this pair of patches?  The first patch converts afs to use
refcount_t for its refcounts and the second patch fixes afs_put_call() and
afs_put_server() to save the values they're going to log in the tracepoint
before decrementing the refcount.

Thanks,
David

Reviewed-by: Marc Dionne <marc.dionne@...istor.com>
Tested-by: Marc Dionne <marc.dionne@...istor.com>
---
The following changes since commit 6e7765cb477a9753670d4351d14de93f1e9dbbd4:

  Merge tag 'asm-generic-fixes-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic (2022-07-27 09:50:18 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20220802

for you to fetch changes up to 2757a4dc184997c66ef1de32636f73b9f21aac14:

  afs: Fix access after dec in put functions (2022-08-02 18:21:29 +0100)

----------------------------------------------------------------
AFS fixes

----------------------------------------------------------------
David Howells (2):
      afs: Use refcount_t rather than atomic_t
      afs: Fix access after dec in put functions

 fs/afs/cell.c              | 61 ++++++++++++++++++++++------------------------
 fs/afs/cmservice.c         |  4 +--
 fs/afs/internal.h          | 16 ++++++------
 fs/afs/proc.c              |  6 ++---
 fs/afs/rxrpc.c             | 31 ++++++++++++-----------
 fs/afs/server.c            | 46 ++++++++++++++++++++--------------
 fs/afs/vl_list.c           | 19 +++++----------
 fs/afs/volume.c            | 21 ++++++++++------
 include/trace/events/afs.h | 36 +++++++++++++--------------
 9 files changed, 124 insertions(+), 116 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ