net_sched: fix a use-after-free for tc actions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net_sched: acquire RTNL in tc_action_net_exit()include/ net/ | +4 | 0 replies | |
| 2/2 | net_sched: hold netns refcnt for each actioninclude/ net/ net/ +15 more | +22 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Lucas Bates |
|---|---|
| 1/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch net 0/2] net_sched: fix a use-after-free for tc actions
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 <[email protected]>
Cc Jiri Pirko <[email protected]>
Signed-off-by Cong Wang <[email protected]>
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(-)
Signature · 1 line
2.13.0