Re: [Patch net 2/2] net_sched: commit action insertions together

2020-09-25 Thread Vlad Buslov
On Wed 23 Sep 2020 at 06:56, Cong Wang wrote: > syzbot is able to trigger a failure case inside the loop in > tcf_action_init(), and when this happens we clean up with > tcf_action_destroy(). But, as these actions are already inserted > into the global IDR, other parallel process could free them >

[Patch net 2/2] net_sched: commit action insertions together

2020-09-22 Thread Cong Wang
syzbot is able to trigger a failure case inside the loop in tcf_action_init(), and when this happens we clean up with tcf_action_destroy(). But, as these actions are already inserted into the global IDR, other parallel process could free them before tcf_action_destroy(), then we will trigger a use-