[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180102.133056.126140071547989446.davem@davemloft.net>
Date: Tue, 02 Jan 2018 13:30:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: gfree.wind@....163.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] macvlan: Fix one possible double free
aFrom: gfree.wind@....163.com
Date: Tue, 26 Dec 2017 21:44:32 +0800
> From: Gao Feng <gfree.wind@....163.com>
>
> Because the macvlan_uninit would free the macvlan port, so there is one
> double free case in macvlan_common_newlink. When the macvlan port is just
> created, then register_netdevice or netdev_upper_dev_link failed and they
> would invoke macvlan_uninit. Then it would reach the macvlan_port_destroy
> which triggers the double free.
>
> Signed-off-by: Gao Feng <gfree.wind@....163.com>
Applied.
Powered by blists - more mailing lists