[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181128.104231.1536534643328029423.davem@davemloft.net>
Date: Wed, 28 Nov 2018 10:42:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: bianpan2016@....com
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: hisilicon: remove unexpected free_netdev
From: Pan Bian <bianpan2016@....com>
Date: Wed, 28 Nov 2018 15:30:24 +0800
> The net device ndev is freed via free_netdev when failing to register
> the device. The control flow then jumps to the error handling code
> block. ndev is used and freed again. Resulting in a use-after-free bug.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists