[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170302090652.2e9e4471@xeon-e3>
Date: Thu, 2 Mar 2017 09:06:52 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Dexuan Cui <decui@...rosoft.com>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Stephen Hemminger <sthemmin@...rosoft.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
"driverdev-devel@...uxdriverproject.org"
<driverdev-devel@...uxdriverproject.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] netvsc: fix use-after-free in netvsc_change_mtu()
On Thu, 2 Mar 2017 13:00:53 +0000
Dexuan Cui <decui@...rosoft.com> wrote:
> 'nvdev' is freed in rndis_filter_device_remove -> netvsc_device_remove ->
> free_netvsc_device, so we mustn't access it, before it's re-created in
> rndis_filter_device_add -> netvsc_device_add.
>
> Signed-off-by: Dexuan Cui <decui@...rosoft.com>
> Cc: "K. Y. Srinivasan" <kys@...rosoft.com>
> Cc: Haiyang Zhang <haiyangz@...rosoft.com>
> Cc: Stephen Hemminger <sthemmin@...rosoft.com>
Reviewed-by: Stephen Hemminger <sthemmin@...rosoft.com>
Powered by blists - more mailing lists