[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpWqFgi8BqSN3QnJUNVO5Y+B+LpcnKymPgqPo4LUM=F8VQ@mail.gmail.com>
Date: Tue, 16 Feb 2021 11:05:03 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Vlad Buslov <vladbu@...dia.com>
Cc: syzbot <syzbot+151e3e714d34ae4ce7e8@...kaller.appspotmail.com>,
David Miller <davem@...emloft.net>,
Jamal Hadi Salim <jhs@...atatu.com>,
Jiri Pirko <jiri@...nulli.us>,
Jakub Kicinski <kuba@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [PATCH net] net: sched: fix police ext initialization
On Tue, Feb 16, 2021 at 8:22 AM Vlad Buslov <vladbu@...dia.com> wrote:
>
> When police action is created by cls API tcf_exts_validate() first
> conditional that calls tcf_action_init_1() directly, the action idr is not
> updated according to latest changes in action API that require caller to
> commit newly created action to idr with tcf_idr_insert_many(). This results
> such action not being accessible through act API and causes crash reported
> by syzbot:
Good catch!
This certainly makes sense to me, and I feed it to syzbot too, it is happy
with this patch, so:
Reported-and-tested-by: syzbot+151e3e714d34ae4ce7e8@...kaller.appspotmail.com
Reviewed-by: Cong Wang <xiyou.wangcong@...il.com>
Thanks.
Powered by blists - more mailing lists