From: Elena Reshetova <elena.reshetova@intel.com>
To: linux-kernel@vger.kernel.org
Cc: linux-afs@lists.infradead.org, peterz@infradead.org,
gregkh@linuxfoundation.org, dhowells@redhat.com,
Elena Reshetova <elena.reshetova@intel.com>
Subject: [PATCH 0/4] fs, afs subsystem refcounter conversions
Date: Tue, 21 Feb 2017 17:43:24 +0200 [thread overview]
Message-ID: <1487691808-11289-1-git-send-email-elena.reshetova@intel.com> (raw)
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
next reply other threads:[~2017-02-21 15:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-21 15:43 Elena Reshetova [this message]
2017-02-21 15:43 ` [PATCH 1/4] fs, afs: convert afs_cell.usage from atomic_t to refcount_t Elena Reshetova
2017-02-22 16:16 ` David Howells
2017-02-22 17:19 ` Reshetova, Elena
2017-02-22 17:29 ` David Howells
2017-02-22 17:39 ` Kees Cook
2017-02-23 13:32 ` Reshetova, Elena
2017-02-24 14:21 ` David Howells
2017-02-21 15:43 ` [PATCH 2/4] fs, afs: convert afs_vlocation.usage " Elena Reshetova
2017-02-22 16:22 ` David Howells
2017-02-21 15:43 ` [PATCH 3/4] fs, afs: convert afs_server.usage " Elena Reshetova
2017-02-22 16:32 ` David Howells
2017-02-23 14:05 ` Reshetova, Elena
2017-02-21 15:43 ` [PATCH 4/4] fs, afs: convert afs_volume.usage " Elena Reshetova
2017-02-22 16:34 ` David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487691808-11289-1-git-send-email-elena.reshetova@intel.com \
--to=elena.reshetova@intel.com \
--cc=dhowells@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-afs@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox