From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752180AbdJTHsn (ORCPT ); Fri, 20 Oct 2017 03:48:43 -0400 Received: from mga02.intel.com ([134.134.136.20]:54787 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752028AbdJTHsm (ORCPT ); Fri, 20 Oct 2017 03:48:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,405,1503385200"; d="scan'208";a="1207960121" From: Elena Reshetova To: linux-s390@vger.kernel.org Cc: linux-kernel@vger.kernel.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, jwi@linux.vnet.ibm.com, ubraun@linux.vnet.ibm.com, peterz@infradead.org, keescook@chromium.org, Elena Reshetova Subject: [PATCH 0/3] s390 refcount conversions Date: Fri, 20 Oct 2017 10:47:47 +0300 Message-Id: <1508485670-24070-1-git-send-email-elena.reshetova@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series, for S390, 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. Patches are based on top of linux-next as of yesterday. If there are no objections to the patches, please merge them via respective trees Elena Reshetova (3): [S390] vmur: convert urdev.ref_count from atomic_t to refcount_t [S390] net: convert lcs_reply.refcnt from atomic_t to refcount_t [S390] qeth: convert qeth_reply.refcnt from atomic_t to refcount_t drivers/s390/char/vmur.c | 8 ++++---- drivers/s390/char/vmur.h | 4 +++- drivers/s390/net/lcs.c | 10 +++++----- drivers/s390/net/lcs.h | 3 ++- drivers/s390/net/qeth_core.h | 3 ++- drivers/s390/net/qeth_core_main.c | 10 +++++----- 6 files changed, 21 insertions(+), 17 deletions(-) -- 2.7.4