[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iJRu_uHi__pYr-y5p3Gw_FzmvCEgnYoBa4EGiXRNzxuPw@mail.gmail.com>
Date: Fri, 10 Dec 2021 03:07:19 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: Toke Høiland-Jørgensen <toke@...e.dk>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
netdev <netdev@...r.kernel.org>,
syzbot <syzkaller@...glegroups.com>
Subject: Re: [PATCH net] sch_cake: do not call cake_destroy() from cake_init()
On Fri, Dec 10, 2021 at 3:02 AM Toke Høiland-Jørgensen <toke@...e.dk> wrote:
>
> Eric Dumazet <eric.dumazet@...il.com> writes:
>
> > From: Eric Dumazet <edumazet@...gle.com>
> >
> > qdiscs are not supposed to call their own destroy() method
> > from init(), because core stack already does that.
> >
> > syzbot was able to trigger use after free:
> >
> > Fixes: 046f6fd5daef ("sched: Add Common Applications Kept Enhanced (cake) qdisc")
> > Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> > Reported-by: syzbot <syzkaller@...glegroups.com>
> > Signed-off-by: Toke Høiland-Jørgensen <toke@...e.dk>
>
> Oops, thanks for the fix! I'm a little puzzled with the patch has my
> S-o-b, though? It should probably be replaced by:
>
> Acked-by: Toke Høiland-Jørgensen <toke@...e.dk>
Right, user error from my side, I copied it from your commit changelog
and forgot to s/Signed-off-by/Cc/
Thanks.
Powered by blists - more mailing lists