[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMEuxRoFpc0gdf1Vs7x8JdvJCcW8KdMGuWC_+-WZMGDsndCMxA@mail.gmail.com>
Date: Fri, 23 Sep 2022 14:39:20 -0700
From: Li Zhong <floridsleeves@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, pabeni@...hat.com, edumazet@...gle.com,
davem@...emloft.net
Subject: Re: [PATCH net-next v3] ethtool: tunnels: check the return value of nla_nest_start()
On Thu, Sep 22, 2022 at 7:28 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Wed, 21 Sep 2022 11:17:16 -0700 Li Zhong wrote:
> > It will cause null pointer dereference when entry is used
> > in nla_nest_end().
>
> No it will not, there is no way for the flow to get to nla_nest_end()
> if the skb is full :/
>
> I will fix the commit message myself and apply but I'd like you to not
> send more "error checking" patches to networking unless you're sure
> that there is indeed a bug.
Thanks for your reply. We'll try to increase the precision of the tool.
Powered by blists - more mailing lists