From: Cong Wang <xiyou.wangcong@gmail.com>
To: netdev@vger.kernel.org
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Subject: [Patch net 0/2] net_sched: fix a UAF in tcf_action_init()
Date: Tue, 22 Sep 2020 20:56:22 -0700 [thread overview]
Message-ID: <20200923035624.7307-1-xiyou.wangcong@gmail.com> (raw)
This patchset fixes a use-after-free triggered by syzbot. Please
find more details in each patch description.
---
Cong Wang (2):
net_sched: defer tcf_idr_insert() in tcf_action_init_1()
net_sched: commit action insertions together
include/net/act_api.h | 2 --
net/sched/act_api.c | 52 +++++++++++++++++++++++++-------------
net/sched/act_bpf.c | 4 +--
net/sched/act_connmark.c | 1 -
net/sched/act_csum.c | 3 ---
net/sched/act_ct.c | 2 --
net/sched/act_ctinfo.c | 3 ---
net/sched/act_gact.c | 2 --
net/sched/act_gate.c | 3 ---
net/sched/act_ife.c | 3 ---
net/sched/act_ipt.c | 2 --
net/sched/act_mirred.c | 2 --
net/sched/act_mpls.c | 2 --
net/sched/act_nat.c | 3 ---
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 | 3 ---
net/sched/act_vlan.c | 2 --
22 files changed, 35 insertions(+), 66 deletions(-)
--
2.28.0
next reply other threads:[~2020-09-23 3:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 3:56 Cong Wang [this message]
2020-09-23 3:56 ` [Patch net 1/2] net_sched: defer tcf_idr_insert() in tcf_action_init_1() Cong Wang
2020-09-25 15:24 ` Vlad Buslov
2020-09-25 19:22 ` Cong Wang
2020-09-25 19:45 ` Vlad Buslov
2020-09-28 10:14 ` Davide Caratti
2020-09-28 17:38 ` Cong Wang
2020-09-23 3:56 ` [Patch net 2/2] net_sched: commit action insertions together Cong Wang
2020-09-25 15:51 ` Vlad Buslov
2020-09-25 2:47 ` [Patch net 0/2] net_sched: fix a UAF in tcf_action_init() David Miller
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=20200923035624.7307-1-xiyou.wangcong@gmail.com \
--to=xiyou.wangcong@gmail.com \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).