Re: [PATCH] netvsc: fix use-after-free in netvsc_change_mtu()
From: David Miller
Date: Thu Mar 02 2017 - 19:49:43 EST
From: Dexuan Cui <decui@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
Applied.