[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170302.144343.1942167578659107503.davem@davemloft.net>
Date: Thu, 02 Mar 2017 14:43:43 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: decui@...rosoft.com
Cc: netdev@...r.kernel.org, sthemmin@...rosoft.com, kys@...rosoft.com,
haiyangz@...rosoft.com, linux-kernel@...r.kernel.org,
driverdev-devel@...uxdriverproject.org
Subject: Re: [PATCH] netvsc: fix use-after-free in netvsc_change_mtu()
From: Dexuan Cui <decui@...rosoft.com>
Date: Thu, 2 Mar 2017 13:00:53 +0000
> '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>
Applied.
Powered by blists - more mailing lists