From: Elena Reshetova <elena.reshetova@intel.com>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
linux-decnet-user@lists.sourceforge.net, davem@davemloft.net,
jmorris@namei.org, kaber@trash.net, yoshfuji@linux-ipv6.org,
kuznet@ms2.inr.ac.ru, 3chas3@gmail.com, ralf@linux-mips.org,
stephen@networkplumber.org, jchapman@katalix.com,
jhs@mojatatu.com, bridge@lists.linux-foundation.org,
linux-hams@vger.kernel.org, linux-x25@vger.kernel.org,
linux-bluetooth@vger.kernel.org, marcel@holtmann.org,
johan.hedberg@gmail.com, peterz@infradead.org,
keescook@chromium.org,
Elena Reshetova <elena.reshetova@intel.com>
Subject: [PATCH 00/18] net subsystem various refcounter conversions
Date: Fri, 17 Mar 2017 13:12:41 +0200 [thread overview]
Message-ID: <1489749179-12063-1-git-send-email-elena.reshetova@intel.com> (raw)
This series, for various network subsystem components, 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.
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.
If there are no objections to the patches, please merge them via respective trees.
Elena Reshetova (18):
net, llc: convert llc_sap.refcnt from atomic_t to refcount_t
net, l2tp: convert l2tp_tunnel.ref_count from atomic_t to refcount_t
net, l2tp: convert l2tp_session.ref_count from atomic_t to refcount_t
net, vxlan: convert vxlan_sock.refcnt from atomic_t to refcount_t
net, bluetooth: convert rfcomm_dlc.refcnt from atomic_t to refcount_t
net, decnet: convert dn_fib_info.fib_clntref from atomic_t to
refcount_t
net, atm: convert atm_dev.refcnt from atomic_t to refcount_t
net, atm: convert lec_arp_table.usage from atomic_t to refcount_t
net, atm: convert in_cache_entry.use from atomic_t to refcount_t
net, atm: convert eg_cache_entry.use from atomic_t to refcount_t
net, bridge: convert net_bridge_vlan.refcnt from atomic_t to
refcount_t
net, calipso: convert calipso_doi.refcount from atomic_t to refcount_t
net, sched: convert Qdisc.refcnt from atomic_t to refcount_t
net, lapb: convert lapb_cb.refcnt from atomic_t to refcount_t
net, ipx: convert ipx_interface.refcnt from atomic_t to refcount_t
net, ipx: convert ipx_route.refcnt from atomic_t to refcount_t
net, netrom: convert nr_neigh.refcount from atomic_t to refcount_t
net, netrom: convert nr_node.refcount from atomic_t to refcount_t
drivers/net/vxlan.c | 10 +++++-----
include/linux/atmdev.h | 7 ++++---
include/net/bluetooth/rfcomm.h | 8 +++++---
include/net/calipso.h | 4 ++--
include/net/dn_fib.h | 5 +++--
include/net/ipx.h | 13 +++++++------
include/net/lapb.h | 3 ++-
include/net/llc.h | 6 +++---
include/net/netrom.h | 13 +++++++------
include/net/sch_generic.h | 3 ++-
include/net/vxlan.h | 2 +-
net/atm/lec.c | 6 +++---
net/atm/lec_arpc.h | 2 +-
net/atm/mpoa_caches.c | 26 +++++++++++++-------------
net/atm/mpoa_caches.h | 5 +++--
net/atm/proc.c | 2 +-
net/atm/resources.c | 2 +-
net/bluetooth/rfcomm/core.c | 4 ++--
net/bridge/br_private.h | 3 ++-
net/bridge/br_vlan.c | 8 ++++----
net/decnet/dn_fib.c | 6 +++---
net/ipv6/calipso.c | 12 ++++++------
net/ipx/af_ipx.c | 6 +++---
net/ipx/ipx_proc.c | 2 +-
net/ipx/ipx_route.c | 2 +-
net/l2tp/l2tp_core.c | 16 ++++++++--------
net/l2tp/l2tp_core.h | 13 +++++++------
net/l2tp/l2tp_debugfs.c | 5 ++---
net/l2tp/l2tp_ppp.c | 2 +-
net/lapb/lapb_iface.c | 6 +++---
net/llc/llc_core.c | 2 +-
net/netrom/nr_route.c | 6 +++---
net/sched/sch_api.c | 8 ++++----
net/sched/sch_generic.c | 8 ++++----
34 files changed, 118 insertions(+), 108 deletions(-)
--
2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Elena Reshetova <elena.reshetova@intel.com>
To: netdev@vger.kernel.org
Cc: bridge@lists.linux-foundation.org, linux-x25@vger.kernel.org,
jhs@mojatatu.com, davem@davemloft.net, yoshfuji@linux-ipv6.org,
marcel@holtmann.org, linux-decnet-user@lists.sourceforge.net,
jmorris@namei.org, ralf@linux-mips.org,
linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org,
peterz@infradead.org, keescook@chromium.org,
jchapman@katalix.com, 3chas3@gmail.com,
linux-hams@vger.kernel.org, kuznet@ms2.inr.ac.ru,
kaber@trash.net, Elena Reshetova <elena.reshetova@intel.com>,
johan.hedberg@gmail.com
Subject: [PATCH 00/18] net subsystem various refcounter conversions
Date: Fri, 17 Mar 2017 13:12:41 +0200 [thread overview]
Message-ID: <1489749179-12063-1-git-send-email-elena.reshetova@intel.com> (raw)
This series, for various network subsystem components, 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.
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.
If there are no objections to the patches, please merge them via respective trees.
Elena Reshetova (18):
net, llc: convert llc_sap.refcnt from atomic_t to refcount_t
net, l2tp: convert l2tp_tunnel.ref_count from atomic_t to refcount_t
net, l2tp: convert l2tp_session.ref_count from atomic_t to refcount_t
net, vxlan: convert vxlan_sock.refcnt from atomic_t to refcount_t
net, bluetooth: convert rfcomm_dlc.refcnt from atomic_t to refcount_t
net, decnet: convert dn_fib_info.fib_clntref from atomic_t to
refcount_t
net, atm: convert atm_dev.refcnt from atomic_t to refcount_t
net, atm: convert lec_arp_table.usage from atomic_t to refcount_t
net, atm: convert in_cache_entry.use from atomic_t to refcount_t
net, atm: convert eg_cache_entry.use from atomic_t to refcount_t
net, bridge: convert net_bridge_vlan.refcnt from atomic_t to
refcount_t
net, calipso: convert calipso_doi.refcount from atomic_t to refcount_t
net, sched: convert Qdisc.refcnt from atomic_t to refcount_t
net, lapb: convert lapb_cb.refcnt from atomic_t to refcount_t
net, ipx: convert ipx_interface.refcnt from atomic_t to refcount_t
net, ipx: convert ipx_route.refcnt from atomic_t to refcount_t
net, netrom: convert nr_neigh.refcount from atomic_t to refcount_t
net, netrom: convert nr_node.refcount from atomic_t to refcount_t
drivers/net/vxlan.c | 10 +++++-----
include/linux/atmdev.h | 7 ++++---
include/net/bluetooth/rfcomm.h | 8 +++++---
include/net/calipso.h | 4 ++--
include/net/dn_fib.h | 5 +++--
include/net/ipx.h | 13 +++++++------
include/net/lapb.h | 3 ++-
include/net/llc.h | 6 +++---
include/net/netrom.h | 13 +++++++------
include/net/sch_generic.h | 3 ++-
include/net/vxlan.h | 2 +-
net/atm/lec.c | 6 +++---
net/atm/lec_arpc.h | 2 +-
net/atm/mpoa_caches.c | 26 +++++++++++++-------------
net/atm/mpoa_caches.h | 5 +++--
net/atm/proc.c | 2 +-
net/atm/resources.c | 2 +-
net/bluetooth/rfcomm/core.c | 4 ++--
net/bridge/br_private.h | 3 ++-
net/bridge/br_vlan.c | 8 ++++----
net/decnet/dn_fib.c | 6 +++---
net/ipv6/calipso.c | 12 ++++++------
net/ipx/af_ipx.c | 6 +++---
net/ipx/ipx_proc.c | 2 +-
net/ipx/ipx_route.c | 2 +-
net/l2tp/l2tp_core.c | 16 ++++++++--------
net/l2tp/l2tp_core.h | 13 +++++++------
net/l2tp/l2tp_debugfs.c | 5 ++---
net/l2tp/l2tp_ppp.c | 2 +-
net/lapb/lapb_iface.c | 6 +++---
net/llc/llc_core.c | 2 +-
net/netrom/nr_route.c | 6 +++---
net/sched/sch_api.c | 8 ++++----
net/sched/sch_generic.c | 8 ++++----
34 files changed, 118 insertions(+), 108 deletions(-)
--
2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Elena Reshetova <elena.reshetova@intel.com>
To: netdev@vger.kernel.org
Cc: bridge@lists.linux-foundation.org, linux-x25@vger.kernel.org,
jhs@mojatatu.com, davem@davemloft.net, yoshfuji@linux-ipv6.org,
marcel@holtmann.org, linux-decnet-user@lists.sourceforge.net,
jmorris@namei.org, ralf@linux-mips.org,
linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org,
peterz@infradead.org, keescook@chromium.org,
jchapman@katalix.com, 3chas3@gmail.com,
linux-hams@vger.kernel.org, kuznet@ms2.inr.ac.ru,
kaber@trash.net, Elena Reshetova <elena.reshetova@intel.com>,
johan.hedberg@gmail.com
Subject: [Bridge] [PATCH 00/18] net subsystem various refcounter conversions
Date: Fri, 17 Mar 2017 13:12:41 +0200 [thread overview]
Message-ID: <1489749179-12063-1-git-send-email-elena.reshetova@intel.com> (raw)
This series, for various network subsystem components, 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.
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.
If there are no objections to the patches, please merge them via respective trees.
Elena Reshetova (18):
net, llc: convert llc_sap.refcnt from atomic_t to refcount_t
net, l2tp: convert l2tp_tunnel.ref_count from atomic_t to refcount_t
net, l2tp: convert l2tp_session.ref_count from atomic_t to refcount_t
net, vxlan: convert vxlan_sock.refcnt from atomic_t to refcount_t
net, bluetooth: convert rfcomm_dlc.refcnt from atomic_t to refcount_t
net, decnet: convert dn_fib_info.fib_clntref from atomic_t to
refcount_t
net, atm: convert atm_dev.refcnt from atomic_t to refcount_t
net, atm: convert lec_arp_table.usage from atomic_t to refcount_t
net, atm: convert in_cache_entry.use from atomic_t to refcount_t
net, atm: convert eg_cache_entry.use from atomic_t to refcount_t
net, bridge: convert net_bridge_vlan.refcnt from atomic_t to
refcount_t
net, calipso: convert calipso_doi.refcount from atomic_t to refcount_t
net, sched: convert Qdisc.refcnt from atomic_t to refcount_t
net, lapb: convert lapb_cb.refcnt from atomic_t to refcount_t
net, ipx: convert ipx_interface.refcnt from atomic_t to refcount_t
net, ipx: convert ipx_route.refcnt from atomic_t to refcount_t
net, netrom: convert nr_neigh.refcount from atomic_t to refcount_t
net, netrom: convert nr_node.refcount from atomic_t to refcount_t
drivers/net/vxlan.c | 10 +++++-----
include/linux/atmdev.h | 7 ++++---
include/net/bluetooth/rfcomm.h | 8 +++++---
include/net/calipso.h | 4 ++--
include/net/dn_fib.h | 5 +++--
include/net/ipx.h | 13 +++++++------
include/net/lapb.h | 3 ++-
include/net/llc.h | 6 +++---
include/net/netrom.h | 13 +++++++------
include/net/sch_generic.h | 3 ++-
include/net/vxlan.h | 2 +-
net/atm/lec.c | 6 +++---
net/atm/lec_arpc.h | 2 +-
net/atm/mpoa_caches.c | 26 +++++++++++++-------------
net/atm/mpoa_caches.h | 5 +++--
net/atm/proc.c | 2 +-
net/atm/resources.c | 2 +-
net/bluetooth/rfcomm/core.c | 4 ++--
net/bridge/br_private.h | 3 ++-
net/bridge/br_vlan.c | 8 ++++----
net/decnet/dn_fib.c | 6 +++---
net/ipv6/calipso.c | 12 ++++++------
net/ipx/af_ipx.c | 6 +++---
net/ipx/ipx_proc.c | 2 +-
net/ipx/ipx_route.c | 2 +-
net/l2tp/l2tp_core.c | 16 ++++++++--------
net/l2tp/l2tp_core.h | 13 +++++++------
net/l2tp/l2tp_debugfs.c | 5 ++---
net/l2tp/l2tp_ppp.c | 2 +-
net/lapb/lapb_iface.c | 6 +++---
net/llc/llc_core.c | 2 +-
net/netrom/nr_route.c | 6 +++---
net/sched/sch_api.c | 8 ++++----
net/sched/sch_generic.c | 8 ++++----
34 files changed, 118 insertions(+), 108 deletions(-)
--
2.7.4
next reply other threads:[~2017-03-17 11:20 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 11:12 Elena Reshetova [this message]
2017-03-17 11:12 ` [Bridge] [PATCH 00/18] net subsystem various refcounter conversions Elena Reshetova
2017-03-17 11:12 ` Elena Reshetova
2017-03-17 11:12 ` [PATCH 01/18] net, llc: convert llc_sap.refcnt from atomic_t to refcount_t Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 02/18] net, l2tp: convert l2tp_tunnel.ref_count " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` Elena Reshetova
2017-03-17 11:12 ` [PATCH 03/18] net, l2tp: convert l2tp_session.ref_count " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 04/18] net, vxlan: convert vxlan_sock.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` Elena Reshetova
2017-03-17 11:12 ` [PATCH 05/18] net, bluetooth: convert rfcomm_dlc.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-27 14:05 ` Marcel Holtmann
2017-03-27 14:05 ` [Bridge] " Marcel Holtmann
2017-03-17 11:12 ` [PATCH 06/18] net, decnet: convert dn_fib_info.fib_clntref " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 07/18] net, atm: convert atm_dev.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 08/18] net, atm: convert lec_arp_table.usage " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 09/18] net, atm: convert in_cache_entry.use " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 10/18] net, atm: convert eg_cache_entry.use " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 11/18] net, bridge: convert net_bridge_vlan.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 12/18] net, calipso: convert calipso_doi.refcount " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 13/18] net, sched: convert Qdisc.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 14/18] net, lapb: convert lapb_cb.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 15/18] net, ipx: convert ipx_interface.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 16/18] net, ipx: convert ipx_route.refcnt " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 17/18] net, netrom: convert nr_neigh.refcount " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
2017-03-17 11:12 ` [PATCH 18/18] net, netrom: convert nr_node.refcount " Elena Reshetova
2017-03-17 11:12 ` [Bridge] " Elena Reshetova
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=1489749179-12063-1-git-send-email-elena.reshetova@intel.com \
--to=elena.reshetova@intel.com \
--cc=3chas3@gmail.com \
--cc=bridge@lists.linux-foundation.org \
--cc=davem@davemloft.net \
--cc=jchapman@katalix.com \
--cc=jhs@mojatatu.com \
--cc=jmorris@namei.org \
--cc=johan.hedberg@gmail.com \
--cc=kaber@trash.net \
--cc=keescook@chromium.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-decnet-user@lists.sourceforge.net \
--cc=linux-hams@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-x25@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=netdev@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=ralf@linux-mips.org \
--cc=stephen@networkplumber.org \
--cc=yoshfuji@linux-ipv6.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.