All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch net 0/2] net_sched: fix a use-after-free for tc actions
@ 2017-11-01 17:23 Cong Wang
  2017-11-01 17:23 ` [Patch net 1/2] net_sched: acquire RTNL in tc_action_net_exit() Cong Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Cong Wang @ 2017-11-01 17:23 UTC (permalink / raw)
  To: netdev; +Cc: lucasb, Cong Wang, Jamal Hadi Salim, Jiri Pirko

This patchset fixes a use-after-free reported by Lucas
and closes potential races too.

Please see each patch for details.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>

Cong Wang (2):
  net_sched: acquire RTNL in tc_action_net_exit()
  net_sched: hold netns refcnt for each action

 include/net/act_api.h      | 6 +++++-
 net/sched/act_api.c        | 4 ++++
 net/sched/act_bpf.c        | 2 +-
 net/sched/act_connmark.c   | 2 +-
 net/sched/act_csum.c       | 2 +-
 net/sched/act_gact.c       | 2 +-
 net/sched/act_ife.c        | 2 +-
 net/sched/act_ipt.c        | 4 ++--
 net/sched/act_mirred.c     | 2 +-
 net/sched/act_nat.c        | 2 +-
 net/sched/act_pedit.c      | 2 +-
 net/sched/act_police.c     | 2 +-
 net/sched/act_sample.c     | 2 +-
 net/sched/act_simple.c     | 2 +-
 net/sched/act_skbedit.c    | 2 +-
 net/sched/act_skbmod.c     | 2 +-
 net/sched/act_tunnel_key.c | 2 +-
 net/sched/act_vlan.c       | 2 +-
 18 files changed, 26 insertions(+), 18 deletions(-)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-04  1:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01 17:23 [Patch net 0/2] net_sched: fix a use-after-free for tc actions Cong Wang
2017-11-01 17:23 ` [Patch net 1/2] net_sched: acquire RTNL in tc_action_net_exit() Cong Wang
2017-11-01 17:23 ` [Patch net 2/2] net_sched: hold netns refcnt for each action Cong Wang
2017-11-04  1:15   ` Cong Wang
2017-11-03  1:30 ` [Patch net 0/2] net_sched: fix a use-after-free for tc actions David Miller

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.