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: <1487691808-11289-1-git-send-email-elena.reshetova@intel.com>
Date:   Tue, 21 Feb 2017 17:43:24 +0200
From:   Elena Reshetova <elena.reshetova@...el.com>
To:     linux-kernel@...r.kernel.org
Cc:     linux-afs@...ts.infradead.org, peterz@...radead.org,
        gregkh@...uxfoundation.org, dhowells@...hat.com,
        Elena Reshetova <elena.reshetova@...el.com>
Subject: [PATCH 0/4] fs, afs subsystem refcounter conversions

Now when new refcount_t type and API are finally merged
(see include/linux/refcount.h), the following
patches convert various refcounters in the fs, afs susystem from atomic_t
to refcount_t. By doing this we prevent intentional or accidental
underflows or overflows that can led to use-after-free vulnerabilities.

The below patches are fully independent and can be cherry-picked separately.
Since we convert all kernel subsystems in the same fashion, resulting
in about 300 patches, we have to group them for sending at least in some
fashion to be manageable. Please excuse the long cc list.

Elena Reshetova (4):
  fs, afs: convert afs_cell.usage from atomic_t to refcount_t
  fs, afs: convert afs_vlocation.usage from atomic_t to refcount_t
  fs, afs: convert afs_server.usage from atomic_t to refcount_t
  fs, afs: convert afs_volume.usage from atomic_t to refcount_t

 fs/afs/cell.c      | 20 ++++++++++----------
 fs/afs/internal.h  | 18 +++++++++---------
 fs/afs/proc.c      |  6 +++---
 fs/afs/server.c    | 20 ++++++++++----------
 fs/afs/vlocation.c | 16 ++++++++--------
 fs/afs/volume.c    |  6 +++---
 6 files changed, 43 insertions(+), 43 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ