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  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:   Wed, 29 Nov 2017 13:15:42 +0200
From:   Elena Reshetova <elena.reshetova@...el.com>
To:     linux-nfs@...r.kernel.org
Cc:     linux-kernel@...r.kernel.org, bfields@...ldses.org,
        jlayton@...nel.org, trond.myklebust@...marydata.com,
        anna.schumaker@...app.com, peterz@...radead.org,
        keescook@...omium.org, Elena Reshetova <elena.reshetova@...el.com>
Subject: [PATCH 0/4] lockd refcount conversions

This series, for lockd component, replaces atomic_t reference
counters with the new refcount_t type and API (see include/linux/refcount.h).
By doing this we prevent intentional or accidental
underflows or overflows that can led to use-after-free vulnerabilities.

The patches are fully independent and can be cherry-picked separately.
If there are no objections to the patches, please merge them via respective tree.

Elena Reshetova (4):
  lockd: convert nlm_host.h_count from atomic_t to refcount_t
  lockd: convert nsm_handle.sm_count from atomic_t to refcount_t
  lockd: convert nlm_lockowner.count from atomic_t to refcount_t
  lockd: convert nlm_rqst.a_count from atomic_t to refcount_t

 fs/lockd/clntproc.c         | 14 +++++++-------
 fs/lockd/host.c             | 16 ++++++++--------
 fs/lockd/mon.c              | 14 +++++++-------
 fs/lockd/svcproc.c          |  2 +-
 include/linux/lockd/lockd.h |  9 +++++----
 5 files changed, 28 insertions(+), 27 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists