[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211118061735.5357f739@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 18 Nov 2021 06:17:35 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: "Ziyang Xuan (William)" <william.xuanziyang@...wei.com>
Cc: Petr Machata <petrm@...dia.com>, <davem@...emloft.net>,
<jgg@...dia.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net v2] net: vlan: fix a UAF in vlan_dev_real_dev()
On Thu, 18 Nov 2021 09:46:24 +0800 Ziyang Xuan (William) wrote:
> >> I think we should move the dev_hold() to ndo_init(), otherwise
> >> it's hard to reason if destructor was invoked or not if
> >> register_netdevice() errors out.
> >
> > Ziyang Xuan, do you intend to take care of this?
> > .
>
> I am reading the related processes according to the problem scenario.
> And I will give a more clear sequence and root cause as soon as possible
> by some necessary tests.
Okay, I still don't see the fix.
Petr would you mind submitting since you have a repro handy?
Powered by blists - more mailing lists