[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLaHEh6fGCFChFCDSVT=hrm0v7wXd4-FR6Gw25Ertgnpw@mail.gmail.com>
Date: Fri, 28 Oct 2022 11:13:14 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Toke Høiland-Jørgensen <toke@...e.dk>,
Jiri Pirko <jiri@...nulli.us>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
Subject: Re: [PATCH net] net: sched: Fix use after free in red_enqueue()
On Fri, Oct 28, 2022 at 8:05 AM Dan Carpenter <dan.carpenter@...cle.com> wrote:
>
> We can't use "skb" again after passing it to qdisc_enqueue(). This is
> basically identical to commit 2f09707d0c97 ("sch_sfb: Also store skb
> len before calling child enqueue").
>
> Fixes: d7f4f332f082 ("sch_red: update backlog as well")
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists