diff options
| author | David S. Miller <davem@davemloft.net> | 2020-09-24 19:46:21 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-09-24 19:46:21 -0700 |
| commit | 6d8899962afdf789f6ec8407ffdf3130724a7005 (patch) | |
| tree | d8163a3a4d54a906afe9e176ec6b877212f291b9 /include/net | |
| parent | 7241c5a697479c7d0c5a96595822cdab750d41ae (diff) | |
| parent | 0fedc63fadf0404a729e73a35349481c8009c02f (diff) | |
Merge branch 'net_sched-fix-a-UAF-in-tcf_action_init'
Cong Wang says:
====================
net_sched: fix a UAF in tcf_action_init()
This patchset fixes a use-after-free triggered by syzbot. Please
find more details in each patch description.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/act_api.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index cb382a89ea58..87214927314a 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -166,8 +166,6 @@ int tcf_idr_create_from_flags(struct tc_action_net *tn, u32 index, struct nlattr *est, struct tc_action **a, const struct tc_action_ops *ops, int bind, u32 flags); -void tcf_idr_insert(struct tc_action_net *tn, struct tc_action *a); - void tcf_idr_cleanup(struct tc_action_net *tn, u32 index); int tcf_idr_check_alloc(struct tc_action_net *tn, u32 *index, struct tc_action **a, int bind); |
